Commit f469b6f8 authored by H. Verbeet's avatar H. Verbeet Committed by Alexandre Julliard

Fix missing prototypes when using nVidia OpenGL headers.

parent ed77348a
...@@ -29,6 +29,7 @@ ...@@ -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 @@ ...@@ -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 @@ ...@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment