Bug fixes (1979482 and 2053859)

git-svn-id: https://glew.svn.sourceforge.net/svnroot/glew/trunk/glew@533 783a27ee-832a-0410-bc00-9f386506c6dd
This commit is contained in:
ikits 2008-10-27 00:52:35 +00:00
parent 60489035f0
commit 236a07b9fb
2 changed files with 6 additions and 2 deletions

View File

@ -109,7 +109,7 @@ http://www.opengl.org/documentation/specs/version2.0/glspec20.pdf
void glGetShaderiv (GLuint shader, GLenum pname, GLint* param)
void glGetShaderInfoLog (GLuint shader, GLsizei bufSize, GLsizei* length, GLchar* infoLog)
void glShaderSource (GLuint shader, GLsizei count, const GLchar** strings, const GLint* lengths)
GLint glGetUniformLocation (GLint programObj, const GLchar* name)
GLint glGetUniformLocation (GLuint program, const GLchar* name)
void glGetUniformfv (GLuint program, GLint location, GLfloat* params)
void glGetUniformiv (GLuint program, GLint location, GLint* params)
void glGetVertexAttribdv (GLuint, GLenum, GLdouble*)

View File

@ -64,7 +64,7 @@ typedef unsigned short wchar_t;
#endif
/* <stddef.h> */
#if !defined(_W64)
# if !defined(__midl) && (defined(_X86_) || defined(_M_IX86)) && _MSC_VER >= 1300
# if !defined(__midl) && (defined(_X86_) || defined(_M_IX86)) && defined(_MSC_VER) && _MSC_VER >= 1300
# define _W64 __w64
# else
# define _W64
@ -169,6 +169,10 @@ typedef void GLvoid;
#if defined(_MSC_VER) && _MSC_VER < 1400
typedef __int64 GLint64EXT;
typedef unsigned __int64 GLuint64EXT;
#elif defined(__MINGW32__)
#include <inttypes.h>
typedef int64_t GLint64EXT;
typedef uint64_t GLuint64EXT;
#else
typedef signed long long GLint64EXT;
typedef unsigned long long GLuint64EXT;