diff --git a/src/arch/LowLevelWindow/LowLevelWindow_Win32.cpp b/src/arch/LowLevelWindow/LowLevelWindow_Win32.cpp index 9a085108b1..1e0f27f635 100644 --- a/src/arch/LowLevelWindow/LowLevelWindow_Win32.cpp +++ b/src/arch/LowLevelWindow/LowLevelWindow_Win32.cpp @@ -10,7 +10,7 @@ #include "RageDisplay_OGL_Helpers.h" #include "RageDisplay_OGL.h" -#include +#include static PIXELFORMATDESCRIPTOR g_CurrentPixelFormat; static HGLRC g_HGLRC = NULL; @@ -351,7 +351,7 @@ void RenderTarget_Win32::Create(const RenderTargetParam ¶m, int &iTextureWid GLenum internalformat; GLenum type = param.bWithAlpha? GL_RGBA:GL_RGB; - if( param.bFloat && GLExt.m_bGL_ARB_texture_float ) + if( param.bFloat && m_bGL_ARB_texture_float ) internalformat = param.bWithAlpha? GL_RGBA16F_ARB:GL_RGB16F_ARB; else internalformat = param.bWithAlpha? GL_RGBA8:GL_RGB8;