mirror of
https://github.com/nigels-com/glew.git
synced 2024-11-11 08:43:49 +00:00
OSX bug fixes
git-svn-id: https://glew.svn.sourceforge.net/svnroot/glew/trunk/glew@187 783a27ee-832a-0410-bc00-9f386506c6dd
This commit is contained in:
parent
5797a89892
commit
d8b0c56645
2
Makefile
2
Makefile
@ -114,7 +114,7 @@ NAME = GLEW
|
||||
CC = cc
|
||||
LD = cc
|
||||
CFLAGS.EXTRA = -no-cpp-precomp -dynamic -I/usr/X11R6/include
|
||||
LDFLAGS.SO = -dynamiclib
|
||||
LDFLAGS.SO = -dynamiclib -install_name $(GLEW_DEST)/lib/$(LIB.SHARED)
|
||||
LDFLAGS.EXTRA = -L/usr/X11R6/lib
|
||||
ifneq (undefined, $(origin GLEW_APPLE_GLX))
|
||||
CFLAGS.EXTRA += -D'GLEW_APPLE_GLX'
|
||||
|
@ -1089,11 +1089,15 @@ GLAPI void GLAPIENTRY glVertexPointer (GLint size, GLenum type, GLsizei stride,
|
||||
GLAPI void GLAPIENTRY glViewport (GLint x, GLint y, GLsizei width, GLsizei height);
|
||||
|
||||
GLEWAPI GLboolean GLEW_VERSION_1_1;
|
||||
#define glew_VERSION_1_1 GLEW_VERSION_1_1
|
||||
|
||||
#endif /* GL_VERSION_1_1 */
|
||||
|
||||
/* ------------------------------------------------------------------------- */
|
||||
|
||||
/* this is where we can safely include GLU */
|
||||
#if defined(__APPLE__) && defined(__MACH__)
|
||||
#include <OpenGL/glu.h>
|
||||
#else
|
||||
#include <GL/glu.h>
|
||||
#endif
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user