mirror of
https://github.com/Perlmint/glew-cmake.git
synced 2024-11-23 07:05:07 +00:00
*** empty log message ***
git-svn-id: https://glew.svn.sourceforge.net/svnroot/glew/trunk/glew@218 783a27ee-832a-0410-bc00-9f386506c6dd
This commit is contained in:
parent
532061efa2
commit
2b006727bd
2
Makefile
2
Makefile
@ -136,7 +136,7 @@ ifeq ($(patsubst Darwin%,Darwin,$(SYSTEM)), Darwin)
|
|||||||
NAME = GLEW
|
NAME = GLEW
|
||||||
CC = cc
|
CC = cc
|
||||||
LD = cc
|
LD = cc
|
||||||
CFLAGS.EXTRA = -no-cpp-precomp -dynamic -I/usr/X11R6/include
|
CFLAGS.EXTRA = -no-cpp-precomp -dynamic -fno-common -I/usr/X11R6/include
|
||||||
LDFLAGS.SO = -dynamiclib -install_name $(GLEW_DEST)/lib/$(LIB.SHARED)
|
LDFLAGS.SO = -dynamiclib -install_name $(GLEW_DEST)/lib/$(LIB.SHARED)
|
||||||
LDFLAGS.EXTRA = -L/usr/X11R6/lib
|
LDFLAGS.EXTRA = -L/usr/X11R6/lib
|
||||||
ifneq (undefined, $(origin GLEW_APPLE_GLX))
|
ifneq (undefined, $(origin GLEW_APPLE_GLX))
|
||||||
|
@ -104,7 +104,7 @@ HWND wnd = NULL;
|
|||||||
HDC dc = NULL;
|
HDC dc = NULL;
|
||||||
HGLRC rc = NULL;
|
HGLRC rc = NULL;
|
||||||
|
|
||||||
GLboolean glewCreateContext (const char* display, int* visual)
|
GLboolean glewCreateContext (int* visual)
|
||||||
{
|
{
|
||||||
WNDCLASS wc;
|
WNDCLASS wc;
|
||||||
PIXELFORMATDESCRIPTOR pfd;
|
PIXELFORMATDESCRIPTOR pfd;
|
||||||
@ -158,7 +158,7 @@ void glewDestroyContext ()
|
|||||||
|
|
||||||
AGLContext ctx, octx;
|
AGLContext ctx, octx;
|
||||||
|
|
||||||
GLboolean glewCreateContext (const char* display, int* visual)
|
GLboolean glewCreateContext ()
|
||||||
{
|
{
|
||||||
int attrib[] = { AGL_RGBA, AGL_NONE };
|
int attrib[] = { AGL_RGBA, AGL_NONE };
|
||||||
AGLPixelFormat pf;
|
AGLPixelFormat pf;
|
||||||
|
Loading…
Reference in New Issue
Block a user