Fix some problems with OpenGL extensions.

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3267 dfc29bdd-3216-0410-991c-e03cc46cb475
master
hybrid 2010-04-01 20:17:47 +00:00
parent 99a25cfbc9
commit ab82717b94
1 changed files with 5 additions and 1 deletions

View File

@ -66,6 +66,10 @@
#include "glxext.h"
#endif
#endif
#ifndef GL_VERSION_2_0
/* GL type for program/shader text */
typedef char GLchar;
#endif
namespace irr
@ -931,7 +935,7 @@ class COpenGLExtensionHandler
void extGlUniformMatrix3fv(GLint loc, GLsizei count, GLboolean transpose, const GLfloat *v);
void extGlUniformMatrix4fv(GLint loc, GLsizei count, GLboolean transpose, const GLfloat *v);
void extGlGetActiveUniformARB(GLhandleARB program, GLuint index, GLsizei maxlength, GLsizei *length, GLint *size, GLenum *type, GLcharARB *name);
void extGlGetActiveUniform(GLuint program, GLuint index, GLsizei maxlength, GLsizei *length, GLint *size, GLenum *type, GLcharARB *name);
void extGlGetActiveUniform(GLuint program, GLuint index, GLsizei maxlength, GLsizei *length, GLint *size, GLenum *type, GLchar *name);
// framebuffer objects
void extGlBindFramebuffer(GLenum target, GLuint framebuffer);