Disabled display resizability.
This commit is contained in:
parent
3e341a0cf4
commit
ccc40e8d15
|
|
@ -22,7 +22,7 @@ inline int display_init(void)
|
|||
return EXIT_FAILURE;
|
||||
}
|
||||
|
||||
window = SDL_CreateWindow("2D_Engine", DISPLAY_WIDTH * RENDER_SCALE, DISPLAY_HEIGHT * RENDER_SCALE, SDL_WINDOW_RESIZABLE);
|
||||
window = SDL_CreateWindow("2D_Engine", DISPLAY_WIDTH * RENDER_SCALE, DISPLAY_HEIGHT * RENDER_SCALE, 0);
|
||||
if(!window)
|
||||
{
|
||||
error_printf("Failed to create window : %s", SDL_GetError());
|
||||
|
|
|
|||
Loading…
Reference in New Issue