From: Forest Hale Date: Wed, 16 Jan 2008 05:30:49 +0000 (+0000) Subject: patch from Ciaran Gillespie to fix a g++ 4 compile error regarding X-Git-Tag: xonotic-v0.7.0~16^2~12^2~120 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=dd22859189e2581149d4d7ef05211bbdfc5b038a;p=xonotic%2Fnetradiant.git patch from Ciaran Gillespie to fix a g++ 4 compile error regarding functions prototyped with (GLvoid) git-svn-id: svn://svn.icculus.org/gtkradiant/GtkRadiant/trunk@194 8a3a26a2-13c4-0310-b231-cf6edde360e5 --- diff --git a/include/igl.h b/include/igl.h index bd5f27c7..8cd81f86 100644 --- a/include/igl.h +++ b/include/igl.h @@ -2645,7 +2645,7 @@ struct OpenGLBinding GLhandleARB (QGL_DLLEXPORT *m_glCreateShaderObjectARB)(GLenum shaderType); void (QGL_DLLEXPORT *m_glShaderSourceARB)(GLhandleARB shaderObj, GLsizei count, const GLcharARB **string, const GLint *length); void (QGL_DLLEXPORT *m_glCompileShaderARB)(GLhandleARB shaderObj); - GLhandleARB (QGL_DLLEXPORT *m_glCreateProgramObjectARB)(GLvoid); + GLhandleARB (QGL_DLLEXPORT *m_glCreateProgramObjectARB)(void); void (QGL_DLLEXPORT *m_glAttachObjectARB)(GLhandleARB containerObj, GLhandleARB obj); void (QGL_DLLEXPORT *m_glLinkProgramARB)(GLhandleARB programObj); void (QGL_DLLEXPORT *m_glUseProgramObjectARB)(GLhandleARB programObj);