Added glext header explanation.

This commit is contained in:
Camilla Berglund 2011-09-22 14:15:07 +02:00
parent 02200c635e
commit a98c66c8cb
3 changed files with 10 additions and 0 deletions

View File

@ -59,6 +59,10 @@
#include "config.h" #include "config.h"
#include "../include/GL/glfw3.h" #include "../include/GL/glfw3.h"
// This path may need to be changed if you build GLFW using your own setup
// We ship and use our own copy of glext.h since GLFW uses fairly new
// extensions and not all operating systems come with an up-to-date version
#include "../support/GL/glext.h" #include "../support/GL/glext.h"
#if defined(_GLFW_COCOA_NSGL) #if defined(_GLFW_COCOA_NSGL)

View File

@ -43,6 +43,9 @@
#include <windows.h> #include <windows.h>
#include <mmsystem.h> #include <mmsystem.h>
// This path may need to be changed if you build GLFW using your own setup
// We ship and use our own copy of wglext.h since GLFW uses fairly new
// extensions and not all operating systems come with an up-to-date version
#include "../support/GL/wglext.h" #include "../support/GL/wglext.h"

View File

@ -41,6 +41,9 @@
#define GLX_GLXEXT_LEGACY #define GLX_GLXEXT_LEGACY
#include <GL/glx.h> #include <GL/glx.h>
// This path may need to be changed if you build GLFW using your own setup
// We ship and use our own copy of glxext.h since GLFW uses fairly new
// extensions and not all operating systems come with an up-to-date version
#include "../support/GL/glxext.h" #include "../support/GL/glxext.h"