static SDL_Surface *screen;
static int video_flags;
#else
-static SDL_GLContext *context;
+static SDL_GLContext context;
static SDL_Window *window;
static int window_flags;
#endif
else
{
rect->left = workArea.left + max(0, (workWidth - width) / 2);
- rect->top = workArea.top + (0, (workHeight - height) / 2);
+ rect->top = workArea.top + ((workHeight - height) / 2);
}
}
#endif