Update some internal files to use SDL_WindowFlags
This commit is contained in:
@@ -15,7 +15,7 @@ static SDL_Window *createVideoSuiteTestWindow(const char *title)
|
||||
SDL_Window *window;
|
||||
SDL_Event event;
|
||||
int w, h;
|
||||
Uint32 flags;
|
||||
SDL_WindowFlags flags;
|
||||
SDL_bool needs_renderer = SDL_FALSE;
|
||||
SDL_bool needs_events_pumped = SDL_FALSE;
|
||||
|
||||
@@ -197,7 +197,7 @@ static int video_createWindowVariousFlags(void *arg)
|
||||
const char *title = "video_createWindowVariousFlags Test Window";
|
||||
int w, h;
|
||||
int fVariation;
|
||||
Uint32 flags;
|
||||
SDL_WindowFlags flags;
|
||||
|
||||
/* Standard window */
|
||||
w = SDLTest_RandomIntegerInRange(320, 1024);
|
||||
@@ -269,7 +269,7 @@ static int video_getWindowFlags(void *arg)
|
||||
{
|
||||
SDL_Window *window;
|
||||
const char *title = "video_getWindowFlags Test Window";
|
||||
Uint32 flags;
|
||||
SDL_WindowFlags flags;
|
||||
Uint32 actualFlags;
|
||||
|
||||
/* Reliable flag set always set in test window */
|
||||
@@ -1931,14 +1931,14 @@ static int video_getSetWindowState(void *arg)
|
||||
SDL_Window *window;
|
||||
int result;
|
||||
SDL_Rect display;
|
||||
Uint32 flags;
|
||||
SDL_WindowFlags flags;
|
||||
int windowedX, windowedY;
|
||||
int currentX, currentY;
|
||||
int desiredX = 0, desiredY = 0;
|
||||
int windowedW, windowedH;
|
||||
int currentW, currentH;
|
||||
int desiredW = 0, desiredH = 0;
|
||||
Uint32 skipFlags = 0;
|
||||
SDL_WindowFlags skipFlags = 0;
|
||||
const SDL_bool restoreHint = SDL_GetHintBoolean("SDL_BORDERLESS_RESIZABLE_STYLE", SDL_TRUE);
|
||||
const SDL_bool skipPos = SDL_strcmp(SDL_GetCurrentVideoDriver(), "wayland") == 0;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user