From: lordhavoc 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-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=505b4eb61bf03a63bc222d3a8a6cc363686309fb;p=xonotic%2Fnetradiant.git patch from Ciaran Gillespie to fix a g++ 4 compile error regarding functions prototyped with (GLvoid) git-svn-id: https://zerowing.idsoftware.com/svn/radiant/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);