// Knghtbrd: should do platform-specific extension string function here
vid_isfullscreen = false;
- int xPos = SDL_WINDOWPOS_UNDEFINED;
- int yPos = SDL_WINDOWPOS_UNDEFINED;
#if SDL_MAJOR_VERSION == 1
{
const SDL_VideoInfo *vi = SDL_GetVideoInfo();
}
}
#else
+ int xPos = SDL_WINDOWPOS_UNDEFINED;
+ int yPos = SDL_WINDOWPOS_UNDEFINED;
{
if (mode->fullscreen) {
if (vid_desktopfullscreen.integer)
}
else {
#ifdef WIN32
- DWORD windowStyle = 0;
RECT rect;
AdjustWindowBounds(mode, &rect);
xPos = rect.left;