mirror of
https://github.com/nigels-com/glew.git
synced 2024-11-22 05:45:07 +00:00
final fix for glBlendColor problem
git-svn-id: https://glew.svn.sourceforge.net/svnroot/glew/trunk/glew@428 783a27ee-832a-0410-bc00-9f386506c6dd
This commit is contained in:
parent
89ad8ec389
commit
385ad31ec4
@ -207,7 +207,7 @@ $(S.DEST)/glew.c: $(EXT)/.dummy
|
||||
cat $(SRC)/glew_str_tail.c >> $@
|
||||
perl -e "s/GLEW_VERSION_STRING/$(GLEW_VERSION)/g" -pi $@
|
||||
perl -e "s/GLEW_ARB_vertex_shader = !_glewInit_GL_ARB_vertex_shader\(GLEW_CONTEXT_ARG_VAR_INIT\);/{ GLEW_ARB_vertex_shader = !_glewInit_GL_ARB_vertex_shader(GLEW_CONTEXT_ARG_VAR_INIT); _glewInit_GL_ARB_vertex_program(GLEW_CONTEXT_ARG_VAR_INIT); }/g" -pi $@
|
||||
perl -e "s/\(\(glBlendColor = /((glBlendEquation = (PFNGLBLENDEQUATIONPROC)glewGetProcAddress((const GLubyte*)\"glBlendEquation\")) == NULL) || r;\n r = ((glBlendColor = /g" -pi $@
|
||||
perl -e "s/\(\(glColorSubTable = /((glBlendEquation = (PFNGLBLENDEQUATIONPROC)glewGetProcAddress((const GLubyte*)\"glBlendEquation\")) == NULL) || r;\n r = ((glColorSubTable = /g" -pi $@
|
||||
$(BIN)/fix_OML_sync_control.sh $@
|
||||
rm -f $@.bak
|
||||
|
||||
@ -304,6 +304,7 @@ $(S.DEST)/glewinfo.c: $(EXT)/.dummy
|
||||
$(BIN)/make_info_list.pl $(GLX_EXT_SPEC) >> $@
|
||||
cat $(SRC)/glewinfo_tail.c >> $@
|
||||
$(BIN)/fix_OML_sync_control.sh $@
|
||||
perl -e 's/"glColorSubTable"/"glBlendEquation", glBlendEquation == NULL);\n glewInfoFunc("glColorSubTable"/g' -pi $@
|
||||
|
||||
$(D.DEST)/glew.html: $(EXT)/.dummy
|
||||
@echo "--------------------------------------------------------------------"
|
||||
|
@ -76,7 +76,6 @@ GL_ARB_imaging
|
||||
GL_WRAP_BORDER 0x8152
|
||||
GL_REPLICATE_BORDER 0x8153
|
||||
GL_CONVOLUTION_BORDER_COLOR 0x8154
|
||||
void glBlendEquation (GLenum mode)
|
||||
void glColorTable (GLenum target, GLenum internalformat, GLsizei width, GLenum format, GLenum type, const GLvoid *table)
|
||||
void glColorSubTable (GLenum target, GLsizei start, GLsizei count, GLenum format, GLenum type, const GLvoid *data)
|
||||
void glColorTableParameteriv (GLenum target, GLenum pname, const GLint *params)
|
||||
|
@ -38,6 +38,7 @@ GL_VERSION_1_4
|
||||
GL_TEXTURE_LOD_BIAS 0x8501
|
||||
GL_MAX_TEXTURE_LOD_BIAS 0x84FD
|
||||
GL_MIRRORED_REPEAT 0x8370
|
||||
void glBlendEquation (GLenum mode)
|
||||
void glBlendColor (GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha)
|
||||
void glFogCoordf (GLfloat coord)
|
||||
void glFogCoordfv (const GLfloat *coord)
|
||||
|
Loading…
Reference in New Issue
Block a user