SDL_CreateWindow() has been simplified and no longer takes a window position.

This commit is contained in:
Sam Lantinga committed 2023-03-06 09:50:12 -08:00
1 parent 7905254087
commit 698dbd8464
51 files changed
+106 -326

No files matched your search

+1 -1
View File
@@ -95,7 +95,7 @@ int main(int argc, char **argv)
SDL_bool done = SDL_FALSE;
SDL_Event event;
SDL_CreateWindow("Sensor Test", 0, 0, 0, 0, SDL_WINDOW_FULLSCREEN);
SDL_CreateWindow("Sensor Test", 0, 0, SDL_WINDOW_FULLSCREEN);
while (!done) {
/* Update to get the current event state */
SDL_PumpEvents();