From b05f87e3d4b1e37ad85efa567c16c205203cc06e Mon Sep 17 00:00:00 2001 From: ikits Date: Wed, 25 Dec 2002 20:41:12 +0000 Subject: [PATCH] fixed blend_func_separate typo git-svn-id: https://glew.svn.sourceforge.net/svnroot/glew/trunk/glew@19 783a27ee-832a-0410-bc00-9f386506c6dd --- src/glew.c | 8 ++++---- src/glewinfo.c | 6 +++--- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/src/glew.c b/src/glew.c index 592c3e7..0dc1fec 100644 --- a/src/glew.c +++ b/src/glew.c @@ -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"); diff --git a/src/glewinfo.c b/src/glewinfo.c index f078bc0..375c93c 100644 --- a/src/glewinfo.c +++ b/src/glewinfo.c @@ -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();