mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-12-19 19:10:31 +08:00
SDL_CreateWindow() has been simplified and no longer takes a window position.
This commit is contained in:
@@ -41,7 +41,7 @@ Code
|
||||
|
||||
SDL_Init(SDL_INIT_VIDEO);
|
||||
|
||||
win = SDL_CreateWindow("Test", SDL_WINDOWPOS_CENTERED, SDL_WINDOWPOS_CENTERED, 800, 600, 0);
|
||||
win = SDL_CreateWindow("Test", 800, 600, 0);
|
||||
SDL_SetRelativeMouseMode(SDL_TRUE);
|
||||
|
||||
while (1)
|
||||
|
||||
Reference in New Issue
Block a user