We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 362ac12 commit 94948e6Copy full SHA for 94948e6
1 file changed
src/video/ogc/SDL_ogcvideo.c
@@ -94,7 +94,7 @@ static void init_display_mode(SDL_DisplayMode *mode, const GXRModeObj *vmode, in
94
/* Use a fake 32-bpp desktop mode */
95
SDL_zero(*mode);
96
mode->format = SDL_PIXELFORMAT_ARGB8888;
97
- width == NULL ? mode->w = vmode->fbWidth : mode->w = width;
+ width == mode->w = width;
98
mode->h = vmode->efbHeight;
99
switch (format) {
100
case VI_DEBUG:
0 commit comments