Removing a bunch of Windows line endings -- see bug report 3077828

git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@882 7f0cb862-5218-0410-a997-914c9d46530a
This commit is contained in:
fayjf 2011-01-23 14:18:25 +00:00
parent 51d3ffb2e6
commit 5bdbf8739d

View File

@ -93,8 +93,7 @@ void checkError(const char *functionName)
typedef ptrdiff_t ourGLsizeiptr; typedef ptrdiff_t ourGLsizeiptr;
typedef char ourGLchar; typedef char ourGLchar;
#if defined(WIN32)
#ifndef APIENTRY #ifndef APIENTRY
#define APIENTRY #define APIENTRY
#endif #endif
@ -118,27 +117,26 @@ typedef void (APIENTRY *PFNGLVERTEXATTRIBPOINTERPROC) (GLuint index, GLint size,
typedef void (APIENTRY *PFNGLENABLEVERTEXATTRIBARRAYPROC) (GLuint index); typedef void (APIENTRY *PFNGLENABLEVERTEXATTRIBARRAYPROC) (GLuint index);
typedef GLint (APIENTRY *PFNGLGETUNIFORMLOCATIONPROC) (GLuint program, const ourGLchar *name); typedef GLint (APIENTRY *PFNGLGETUNIFORMLOCATIONPROC) (GLuint program, const ourGLchar *name);
typedef void (APIENTRY *PFNGLUNIFORMMATRIX4FVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); typedef void (APIENTRY *PFNGLUNIFORMMATRIX4FVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
#endif /* defined(WIN32) */
PFNGLGENBUFFERSPROC gl_GenBuffers;
PFNGLGENBUFFERSPROC gl_GenBuffers; PFNGLBINDBUFFERPROC gl_BindBuffer;
PFNGLBINDBUFFERPROC gl_BindBuffer; PFNGLBUFFERDATAPROC gl_BufferData;
PFNGLBUFFERDATAPROC gl_BufferData; PFNGLCREATESHADERPROC gl_CreateShader;
PFNGLCREATESHADERPROC gl_CreateShader; PFNGLSHADERSOURCEPROC gl_ShaderSource;
PFNGLSHADERSOURCEPROC gl_ShaderSource; PFNGLCOMPILESHADERPROC gl_CompileShader;
PFNGLCOMPILESHADERPROC gl_CompileShader; PFNGLCREATEPROGRAMPROC gl_CreateProgram;
PFNGLCREATEPROGRAMPROC gl_CreateProgram; PFNGLATTACHSHADERPROC gl_AttachShader;
PFNGLATTACHSHADERPROC gl_AttachShader; PFNGLLINKPROGRAMPROC gl_LinkProgram;
PFNGLLINKPROGRAMPROC gl_LinkProgram; PFNGLUSEPROGRAMPROC gl_UseProgram;
PFNGLUSEPROGRAMPROC gl_UseProgram; PFNGLGETSHADERIVPROC gl_GetShaderiv;
PFNGLGETSHADERIVPROC gl_GetShaderiv; PFNGLGETSHADERINFOLOGPROC gl_GetShaderInfoLog;
PFNGLGETSHADERINFOLOGPROC gl_GetShaderInfoLog; PFNGLGETPROGRAMIVPROC gl_GetProgramiv;
PFNGLGETPROGRAMIVPROC gl_GetProgramiv; PFNGLGETPROGRAMINFOLOGPROC gl_GetProgramInfoLog;
PFNGLGETPROGRAMINFOLOGPROC gl_GetProgramInfoLog; PFNGLGETATTRIBLOCATIONPROC gl_GetAttribLocation;
PFNGLGETATTRIBLOCATIONPROC gl_GetAttribLocation; PFNGLVERTEXATTRIBPOINTERPROC gl_VertexAttribPointer;
PFNGLVERTEXATTRIBPOINTERPROC gl_VertexAttribPointer; PFNGLENABLEVERTEXATTRIBARRAYPROC gl_EnableVertexAttribArray;
PFNGLENABLEVERTEXATTRIBARRAYPROC gl_EnableVertexAttribArray; PFNGLGETUNIFORMLOCATIONPROC gl_GetUniformLocation;
PFNGLGETUNIFORMLOCATIONPROC gl_GetUniformLocation; PFNGLUNIFORMMATRIX4FVPROC gl_UniformMatrix4fv;
PFNGLUNIFORMMATRIX4FVPROC gl_UniformMatrix4fv;
void initExtensionEntries(void) void initExtensionEntries(void)
{ {