Linux: Remove now obsolete mFullscreenBits

master
Zi Ree 2025-08-09 03:35:30 +02:00
parent 58d68b3cf9
commit 33da1b75f7
1 changed files with 0 additions and 3 deletions

View File

@ -778,12 +778,10 @@ bool LLWindowSDL::createContext(int x, int y, int width, int height, int bits, b
mFullscreen = true;
mFullscreenWidth = mSurface->w;
mFullscreenHeight = mSurface->h;
mFullscreenBits = mSurface->format->BitsPerPixel;
mFullscreenRefresh = -1;
LL_INFOS() << "Running at " << mFullscreenWidth
<< "x" << mFullscreenHeight
<< "x" << mFullscreenBits
<< " @ " << mFullscreenRefresh
<< LL_ENDL;
}
@ -794,7 +792,6 @@ bool LLWindowSDL::createContext(int x, int y, int width, int height, int bits, b
mFullscreen = false;
mFullscreenWidth = -1;
mFullscreenHeight = -1;
mFullscreenBits = -1;
mFullscreenRefresh = -1;
std::string error = llformat("Unable to run fullscreen at %d x %d.\nRunning in window.", width, height);