shakesoda's suggestions for more glew stuff.

Again, revert if a terrible idea.
This commit is contained in:
Jason Felds
2011-05-03 21:59:59 -04:00
parent 0d911c535b
commit d19de4ed1e
@@ -10,7 +10,7 @@
#include "RageDisplay_OGL_Helpers.h"
#include "RageDisplay_OGL.h"
#include <GL/gl.h>
#include <GL/glew.h>
static PIXELFORMATDESCRIPTOR g_CurrentPixelFormat;
static HGLRC g_HGLRC = NULL;
@@ -351,7 +351,7 @@ void RenderTarget_Win32::Create(const RenderTargetParam &param, 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;