From d19de4ed1ef0d2b83d08a44b640f8b654b9a9fad Mon Sep 17 00:00:00 2001 From: Jason Felds Date: Tue, 3 May 2011 21:59:59 -0400 Subject: [PATCH] shakesoda's suggestions for more glew stuff. Again, revert if a terrible idea. --- src/arch/LowLevelWindow/LowLevelWindow_Win32.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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;