namespace Msp {
namespace GL {
-PFNGLBLENDEQUATIONPROC glBlendEquation = 0;
+PFNGLBLENDEQUATIONEXTPROC glBlendEquation = 0;
Extension::SupportLevel init_ext_blend_minmax()
{
if(is_version_at_least(1, 2))
{
- glBlendEquation = reinterpret_cast<PFNGLBLENDEQUATIONPROC>(get_proc_address("glBlendEquation"));
+ glBlendEquation = reinterpret_cast<PFNGLBLENDEQUATIONEXTPROC>(get_proc_address("glBlendEquation"));
return Extension::CORE;
}
if(is_supported("GL_EXT_blend_minmax"))
{
- glBlendEquation = reinterpret_cast<PFNGLBLENDEQUATIONPROC>(get_proc_address("glBlendEquationEXT"));
+ glBlendEquation = reinterpret_cast<PFNGLBLENDEQUATIONEXTPROC>(get_proc_address("glBlendEquationEXT"));
return Extension::EXTENSION;
}
return Extension::UNSUPPORTED;