mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-02 18:03:56 -04:00
Work around annoyance in Mesa's GLES implementation
This commit is contained in:
parent
10511a4246
commit
100bec43b6
@ -1216,14 +1216,14 @@ reset() {
|
|||||||
supports_blend_equation = true;
|
supports_blend_equation = true;
|
||||||
_glBlendEquation = (PFNGLBLENDEQUATIONPROC)
|
_glBlendEquation = (PFNGLBLENDEQUATIONPROC)
|
||||||
get_extension_func(GLPREFIX_QUOTED, "BlendEquation");
|
get_extension_func(GLPREFIX_QUOTED, "BlendEquation");
|
||||||
} else if (has_extension("GL_EXT_blend_minmax")) {
|
|
||||||
supports_blend_equation = true;
|
|
||||||
_glBlendEquation = (PFNGLBLENDEQUATIONPROC)
|
|
||||||
get_extension_func(GLPREFIX_QUOTED, "BlendEquationEXT");
|
|
||||||
} else if (has_extension("GL_OES_blend_subtract")) {
|
} else if (has_extension("GL_OES_blend_subtract")) {
|
||||||
supports_blend_equation = true;
|
supports_blend_equation = true;
|
||||||
_glBlendEquation = (PFNGLBLENDEQUATIONPROC)
|
_glBlendEquation = (PFNGLBLENDEQUATIONPROC)
|
||||||
get_extension_func(GLPREFIX_QUOTED, "BlendEquationOES");
|
get_extension_func(GLPREFIX_QUOTED, "BlendEquationOES");
|
||||||
|
} else if (has_extension("GL_EXT_blend_minmax")) {
|
||||||
|
supports_blend_equation = true;
|
||||||
|
_glBlendEquation = (PFNGLBLENDEQUATIONPROC)
|
||||||
|
get_extension_func(GLPREFIX_QUOTED, "BlendEquationEXT");
|
||||||
}
|
}
|
||||||
if (supports_blend_equation && _glBlendEquation == NULL) {
|
if (supports_blend_equation && _glBlendEquation == NULL) {
|
||||||
GLCAT.warning()
|
GLCAT.warning()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user