Skip to content

Commit

Permalink
Minor Fixes for DeviceContext
Browse files Browse the repository at this point in the history
  • Loading branch information
FriskTheFallenHuman committed Nov 3, 2024
1 parent f464607 commit 9e501a4
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions neo/renderer/DeviceContext.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,8 @@ idVec4 idDeviceContext::colorWhite;
idVec4 idDeviceContext::colorNone;


idCVar gui_smallFontLimit( "gui_smallFontLimit", "0", CVAR_GUI | CVAR_ARCHIVE, "" );
idCVar gui_mediumFontLimit( "gui_mediumFontLimit", "0", CVAR_GUI | CVAR_ARCHIVE, "" );
idCVar gui_smallFontLimit( "gui_smallFontLimit", "0.0", CVAR_GUI | CVAR_ARCHIVE, "" );
idCVar gui_mediumFontLimit( "gui_mediumFontLimit", "0.0", CVAR_GUI | CVAR_ARCHIVE, "" );


idList<fontInfoEx_t> idDeviceContext::fonts;
Expand Down Expand Up @@ -97,7 +97,7 @@ void idDeviceContext::SetFont( int num ) {
void idDeviceContext::Init() {
xScale = 0.0;
SetSize(VIRTUAL_WIDTH, VIRTUAL_HEIGHT);
whiteImage = declManager->FindMaterial("guis/assets/white.tga");
whiteImage = declManager->FindMaterial( "_white" );
whiteImage->SetSort( SS_GUI );
mbcs = false;
SetupFonts();
Expand Down

0 comments on commit 9e501a4

Please sign in to comment.