Skip to content

Commit

Permalink
Fix shader compilation errors
Browse files Browse the repository at this point in the history
Update glext.h and wglext.h


git-svn-id: https://www.williamfeely.info/svn/dxgl@168 8a90861a-4eca-46d5-b744-240ff16d0c4d
  • Loading branch information
dxgldotorg committed Jun 8, 2012
1 parent aa041e1 commit 7847d85
Show file tree
Hide file tree
Showing 5 changed files with 382 additions and 49 deletions.
2 changes: 1 addition & 1 deletion ddraw/glExtensions.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
#include "glExtensions.h"

GLuint (APIENTRY *glCreateShader) (GLenum type) = NULL;
void (APIENTRY *glShaderSource) (GLuint shader, GLsizei count, const GLchar** string, const GLint* length) = NULL;
void (APIENTRY *glShaderSource) (GLuint shader, GLsizei count, const GLchar* const* string, const GLint* length) = NULL;
void (APIENTRY *glCompileShader) (GLuint shader) = NULL;
void (APIENTRY *glDeleteShader) (GLuint shader) = NULL;
GLuint (APIENTRY *glCreateProgram) () = NULL;
Expand Down
2 changes: 1 addition & 1 deletion ddraw/glExtensions.h
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ extern int GLEXT_ARB_depth_texture;
#endif

GLAPI GLuint (APIENTRY *glCreateShader) (GLenum type);
GLAPI void (APIENTRY *glShaderSource) (GLuint shader, GLsizei count, const GLchar** string, const GLint* length);
GLAPI void (APIENTRY *glShaderSource) (GLuint shader, GLsizei count, const GLchar* const* string, const GLint* length);
GLAPI void (APIENTRY *glCompileShader) (GLuint shader);
GLAPI void (APIENTRY *glDeleteShader) (GLuint shader);
GLAPI GLuint (APIENTRY *glCreateProgram) ();
Expand Down
Loading

0 comments on commit 7847d85

Please sign in to comment.