diff UI/UIOptions.cpp @ 2154:9bd7522cdbbb

Render decoupling. Unsorted variables cleaning.
author Nomad
date Thu, 09 Jan 2014 14:36:48 +0200
parents 259df09dfb50
children 0a1438c16c2b
line wrap: on
line diff
--- a/UI/UIOptions.cpp	Thu Jan 09 02:34:20 2014 +0200
+++ b/UI/UIOptions.cpp	Thu Jan 09 14:36:48 2014 +0200
@@ -153,7 +153,7 @@
   GUIWindow msg_window; // [sp+8h] [bp-54h]@3
 
   pRenderer->DrawTextureIndexed(8, 8, pIcons_LOD->GetTexture(optvid_base_texture_id));//draw base texture
-  if ( !pRenderer->bWindowMode && GammaController::IsGammaSupported() )
+  if ( !pRenderer->bWindowMode && pRenderer->IsGammaSupported() )
   {
     pRenderer->DrawTextureIndexed(17 * uGammaPos + 42, 162, pIcons_LOD->GetTexture(pTextureIDs_GammaPositions[uGammaPos]));
     pRenderer->DrawTextureRGB(274, 169, &stru_506E40);//review_window