Fix missing prototypes when using nVidia OpenGL headers.
This commit is contained in:
parent
ed77348a9e
commit
f469b6f8de
|
@ -29,6 +29,7 @@
|
||||||
|
|
||||||
/* THIS FILE MUST NOT CONTAIN X11 or MESA DEFINES */
|
/* THIS FILE MUST NOT CONTAIN X11 or MESA DEFINES */
|
||||||
#define XMD_H /* This is to prevent the Xmd.h inclusion bug :-/ */
|
#define XMD_H /* This is to prevent the Xmd.h inclusion bug :-/ */
|
||||||
|
#define GL_GLEXT_PROTOTYPES
|
||||||
#include <GL/gl.h>
|
#include <GL/gl.h>
|
||||||
#define GLX_GLXEXT_PROTOTYPES
|
#define GLX_GLXEXT_PROTOTYPES
|
||||||
#include <GL/glx.h>
|
#include <GL/glx.h>
|
||||||
|
|
|
@ -24,6 +24,7 @@
|
||||||
#undef WINAPI
|
#undef WINAPI
|
||||||
|
|
||||||
#define XMD_H /* This is to prevent the Xmd.h inclusion bug :-/ */
|
#define XMD_H /* This is to prevent the Xmd.h inclusion bug :-/ */
|
||||||
|
#define GL_GLEXT_PROTOTYPES
|
||||||
#include <GL/gl.h>
|
#include <GL/gl.h>
|
||||||
#include <GL/glx.h>
|
#include <GL/glx.h>
|
||||||
#ifdef HAVE_GL_GLEXT_H
|
#ifdef HAVE_GL_GLEXT_H
|
||||||
|
|
|
@ -34,8 +34,8 @@
|
||||||
#undef WINAPI
|
#undef WINAPI
|
||||||
|
|
||||||
#define XMD_H /* This is to prevent the Xmd.h inclusion bug :-/ */
|
#define XMD_H /* This is to prevent the Xmd.h inclusion bug :-/ */
|
||||||
#include <GL/gl.h>
|
|
||||||
#define GL_GLEXT_PROTOTYPES
|
#define GL_GLEXT_PROTOTYPES
|
||||||
|
#include <GL/gl.h>
|
||||||
#define GLX_GLXEXT_PROTOTYPES
|
#define GLX_GLXEXT_PROTOTYPES
|
||||||
#include <GL/glx.h>
|
#include <GL/glx.h>
|
||||||
#ifdef HAVE_GL_GLEXT_H
|
#ifdef HAVE_GL_GLEXT_H
|
||||||
|
|
Loading…
Reference in New Issue