mirror of
https://github.com/SFML/SFML.git
synced 2024-11-28 22:31:09 +08:00
Fixed conflict between the local glxext.h and the system's one, on Linux
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1416 4e206d99-4929-0410-ac5d-dfc041789085
This commit is contained in:
parent
be7865e468
commit
796406a15b
@ -25,6 +25,7 @@
|
|||||||
////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////
|
||||||
// Headers
|
// Headers
|
||||||
////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////
|
||||||
|
#define GLX_GLXEXT_LEGACY // so that our local glxext.h is used instead of the system one
|
||||||
#include <SFML/Window/Linux/ContextGLX.hpp>
|
#include <SFML/Window/Linux/ContextGLX.hpp>
|
||||||
#include <SFML/Window/Linux/WindowImplX11.hpp>
|
#include <SFML/Window/Linux/WindowImplX11.hpp>
|
||||||
#include <SFML/OpenGL.hpp>
|
#include <SFML/OpenGL.hpp>
|
||||||
|
Loading…
Reference in New Issue
Block a user