Skip to content

Commit 4c27c94

Browse files
committed
fix linux build after #3317
1 parent 5f6dce2 commit 4c27c94

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

indra/llwindow/llwindowsdl.cpp

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -424,12 +424,10 @@ bool LLWindowSDL::createContext(int x, int y, int width, int height, int bits, b
424424
mFullscreen = true;
425425
mFullscreenWidth = mSurface->w;
426426
mFullscreenHeight = mSurface->h;
427-
mFullscreenBits = mSurface->format->BitsPerPixel;
428427
mFullscreenRefresh = -1;
429428

430429
LL_INFOS() << "Running at " << mFullscreenWidth
431430
<< "x" << mFullscreenHeight
432-
<< "x" << mFullscreenBits
433431
<< " @ " << mFullscreenRefresh
434432
<< LL_ENDL;
435433
}
@@ -440,7 +438,6 @@ bool LLWindowSDL::createContext(int x, int y, int width, int height, int bits, b
440438
mFullscreen = false;
441439
mFullscreenWidth = -1;
442440
mFullscreenHeight = -1;
443-
mFullscreenBits = -1;
444441
mFullscreenRefresh = -1;
445442

446443
std::string error = llformat("Unable to run fullscreen at %d x %d.\nRunning in window.", width, height);

0 commit comments

Comments
 (0)