glBlendFuncSeparateEXT (since that's waht we test for)
This commit is contained in:
@@ -1645,8 +1645,8 @@ void RageDisplay_OGL::SetBlendMode( BlendMode mode )
|
||||
DEFAULT_FAIL( mode );
|
||||
}
|
||||
|
||||
if( GLExt.glBlendFuncSeparate != NULL )
|
||||
GLExt.glBlendFuncSeparate( iSourceRGB, iDestRGB, iSourceAlpha, iDestAlpha );
|
||||
if( GLExt.glBlendFuncSeparateEXT != NULL )
|
||||
GLExt.glBlendFuncSeparateEXT( iSourceRGB, iDestRGB, iSourceAlpha, iDestAlpha );
|
||||
else
|
||||
glBlendFunc( iSourceRGB, iDestRGB );
|
||||
}
|
||||
|
||||
@@ -130,7 +130,7 @@ void GLExt_t::Load( LowLevelWindow *pWind )
|
||||
}
|
||||
|
||||
if( HasExtension("GL_EXT_blend_func_separate") )
|
||||
glBlendFuncSeparate = (PFNGLBLENDFUNCSEPARATEPROC) pWind->GetProcAddress("glBlendFuncSeparate");
|
||||
glBlendFuncSeparateEXT = (PFNGLBLENDFUNCSEPARATEEXTPROC) pWind->GetProcAddress("glBlendFuncSeparateEXT");
|
||||
|
||||
if( HasExtension("GL_EXT_blend_subtract") )
|
||||
glBlendEquation = (PFNGLBLENDEQUATIONPROC) pWind->GetProcAddress("glBlendEquation");
|
||||
|
||||
@@ -69,7 +69,7 @@ struct GLExt_t
|
||||
|
||||
PWSWAPINTERVALEXTPROC wglSwapIntervalEXT;
|
||||
PFNGLCOLORTABLEPROC glColorTableEXT;
|
||||
PFNGLBLENDFUNCSEPARATEPROC glBlendFuncSeparate;
|
||||
PFNGLBLENDFUNCSEPARATEEXTPROC glBlendFuncSeparateEXT;
|
||||
PFNGLBLENDEQUATIONPROC glBlendEquation;
|
||||
PFNGLCOLORTABLEPARAMETERIVPROC glGetColorTableParameterivEXT;
|
||||
PFNGLACTIVETEXTUREARBPROC glActiveTextureARB;
|
||||
|
||||
Reference in New Issue
Block a user