Half of day 32.
This commit is contained in:
+5
-2
@@ -313,6 +313,7 @@ static void HandleEvent(SDL_Event *Event)
|
||||
case SDL_WINDOWEVENT_EXPOSED: {
|
||||
} break;
|
||||
|
||||
#if 0
|
||||
case SDL_WINDOWEVENT_FOCUS_GAINED: {
|
||||
if(SDL_SetWindowOpacity(Window, 1.0f) != 0) {
|
||||
/* TODO: This didn't work . . . SDL_GetError() */
|
||||
@@ -324,6 +325,7 @@ static void HandleEvent(SDL_Event *Event)
|
||||
/* TODO: This didn't work . . . SDL_GetError() */
|
||||
}
|
||||
} break;
|
||||
#endif
|
||||
}
|
||||
} break;
|
||||
}
|
||||
@@ -759,8 +761,9 @@ S32 main(S32 argc, char *argv[])
|
||||
Window = SDL_CreateWindow("Handmade Hero", SDL_WINDOWPOS_UNDEFINED,
|
||||
SDL_WINDOWPOS_UNDEFINED,
|
||||
RESOLUTION_WIDTH, RESOLUTION_HEIGHT,
|
||||
SDL_WINDOW_RESIZABLE |
|
||||
SDL_WINDOW_ALWAYS_ON_TOP);
|
||||
SDL_WINDOW_RESIZABLE);
|
||||
/*SDL_WINDOW_RESIZABLE |
|
||||
SDL_WINDOW_ALWAYS_ON_TOP);*/
|
||||
|
||||
if(Window) {
|
||||
SDL_Renderer *Renderer;
|
||||
|
||||
Reference in New Issue
Block a user