mirror of
https://github.com/PCSX2/pcsx2.git
synced 2026-11-11 08:40:02 +01:00
linux: fix compilation issue with recent Mesa (gentoo)
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@5928 96395faa-99c1-11dd-bbfe-3dabce05a288
This commit is contained in:
1 parent
689405732c
commit
d044147698
1 file changed
+10
@@ -22,6 +22,16 @@
|
||||
#pragma once
|
||||
|
||||
#ifndef ENABLE_GLES
|
||||
// FIX compilation issue with Mesa 10
|
||||
// Note it might be possible to do better with the right include
|
||||
// in the rigth order but I don't have time
|
||||
#ifndef APIENTRY
|
||||
#define APIENTRY
|
||||
#endif
|
||||
#ifndef APIENTRYP
|
||||
#define APIENTRYP APIENTRY *
|
||||
#endif
|
||||
|
||||
// Allow compilation with older mesa
|
||||
|
||||
#ifndef GL_ARB_copy_image
|
||||
|
||||
Reference in new issue
Block a user