mirror of
https://github.com/nigels-com/glew.git
synced 2024-11-22 13:55:07 +00:00
fixed blend_func_separate typo
git-svn-id: https://glew.svn.sourceforge.net/svnroot/glew/trunk/glew@19 783a27ee-832a-0410-bc00-9f386506c6dd
This commit is contained in:
parent
148981e1a4
commit
b05f87e3d4
@ -808,7 +808,7 @@ static GLboolean _glewInit_EXT_blend_color ()
|
||||
#ifdef GL_EXT_blend_func_separate
|
||||
glBlendFuncSeparateEXTPROC glBlendFuncSeparateEXT = NULL;
|
||||
|
||||
static GLboolean _glewInit_EXT_blend_function_separate ()
|
||||
static GLboolean _glewInit_EXT_blend_func_separate ()
|
||||
{
|
||||
GLboolean r = GL_FALSE;
|
||||
r = r || (glBlendFuncSeparateEXT = (glBlendFuncSeparateEXTPROC)glewGetProcAddress("glBlendFuncSeparateEXT")) == NULL;
|
||||
@ -2770,9 +2770,9 @@ static GLint _glewInit ()
|
||||
glew.EXT_blend_color = glewGetExtension("GL_EXT_blend_color");
|
||||
if (glewExperimental || glew.EXT_blend_color) glew.EXT_blend_color = !_glewInit_EXT_blend_color();
|
||||
#endif
|
||||
#ifdef GL_EXT_blend_function_separate
|
||||
glew.EXT_blend_func_separate = glewGetExtension("GL_EXT_blend_function_separate");
|
||||
if (glewExperimental || glew.EXT_blend_func_separate) glew.EXT_blend_func_separate = !_glewInit_EXT_blend_function_separate();
|
||||
#ifdef GL_EXT_blend_func_separate
|
||||
glew.EXT_blend_func_separate = glewGetExtension("GL_EXT_blend_func_separate");
|
||||
if (glewExperimental || glew.EXT_blend_func_separate) glew.EXT_blend_func_separate = !_glewInit_EXT_blend_func_separate();
|
||||
#endif
|
||||
#ifdef GL_EXT_blend_minmax
|
||||
glew.EXT_blend_minmax = glewGetExtension("GL_EXT_blend_minmax");
|
||||
|
@ -523,7 +523,7 @@ static void glewInfo_EXT_blend_color ()
|
||||
/* ------------------------ EXT_blend_func_separate ----------------------- */
|
||||
|
||||
#ifdef GL_EXT_blend_func_separate
|
||||
static void glewInfo_EXT_blend_function_separate ()
|
||||
static void glewInfo_EXT_blend_func_separate ()
|
||||
{
|
||||
char me[] = "GL_EXT_blend_func_separate"; glewPrintExt(me, glew.EXT_blend_func_separate);
|
||||
glewInfoFunc(glBlendFuncSeparateEXT == NULL, "glBlendFuncSeparateEXT");
|
||||
@ -1763,8 +1763,8 @@ static void glewInfo ()
|
||||
#ifdef GL_EXT_blend_color
|
||||
glewInfo_EXT_blend_color();
|
||||
#endif
|
||||
#ifdef GL_EXT_blend_function_separate
|
||||
glewInfo_EXT_blend_function_separate();
|
||||
#ifdef GL_EXT_blend_func_separate
|
||||
glewInfo_EXT_blend_func_separate();
|
||||
#endif
|
||||
#ifdef GL_EXT_blend_minmax
|
||||
glewInfo_EXT_blend_minmax();
|
||||
|
Loading…
Reference in New Issue
Block a user