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

+1 -1
View File
@@ -212,7 +212,7 @@ int main(int argc, char *argv[])
SDL_SetWindowSize(sdlWindow, SDL_lround(640. * scale), SDL_lround(480. * scale));
if (qtWindow.isVisible()) {
SDL_SetRenderDrawColor(sdlRenderer, 0, 0, 255, 255);
SDL_SetRenderDrawColor(sdlRenderer, 0, 0, 255, SDL_ALPHA_OPAQUE);
SDL_RenderClear(sdlRenderer);
SDL_RenderPresent(sdlRenderer);
} else {