examples now using SDL_ALPHA_OPAQUE(_FLOAT) for opaque alpha value

This commit is contained in:
Michael Palomas authored and Sam Lantinga committed 2024-10-23 07:28:33 -07:00
1 parent 63ef5a2369
commit 21c91d5535
19 files changed
+38 -38

No files matched your search

@@ -93,7 +93,7 @@ SDL_AppResult SDL_AppIterate(void *appstate)
SDL_ReleaseCameraFrame(camera, frame);
}
SDL_SetRenderDrawColor(renderer, 0x99, 0x99, 0x99, 255);
SDL_SetRenderDrawColor(renderer, 0x99, 0x99, 0x99, SDL_ALPHA_OPAQUE);
SDL_RenderClear(renderer);
if (texture) { /* draw the latest camera frame, if available. */
SDL_RenderTexture(renderer, texture, NULL, NULL);