projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2dfd348
)
i965: Move libdrm/C++ hack introduced in fa2deb3d to intel_context.h
author
Cedric Vivier
<cedricv@neonux.com>
Sun, 29 Aug 2010 03:01:46 +0000
(20:01 -0700)
committer
Eric Anholt
<eric@anholt.net>
Sun, 29 Aug 2010 03:02:54 +0000
(20:02 -0700)
Fixes build on Linux/GCC 4.4 as libdrm includes are also used by other
brw_fs_*.cpp files.
Bug #29855
src/mesa/drivers/dri/i965/brw_fs.cpp
patch
|
blob
|
history
diff --git
a/src/mesa/drivers/dri/i965/brw_fs.cpp
b/src/mesa/drivers/dri/i965/brw_fs.cpp
index 63eae840c2769e69f548f9e8374dd71eb764d57f..ede1848520ad535ab815aa2a6b70006ee788a078 100644
(file)
--- a/
src/mesa/drivers/dri/i965/brw_fs.cpp
+++ b/
src/mesa/drivers/dri/i965/brw_fs.cpp
@@
-28,11
+28,6
@@
extern "C" {
#include <sys/types.h>
-/* Evil hack for using libdrm in a c++ compiler. */
-#define virtual virt
-#include "i915_drm.h"
-#include "intel_bufmgr.h"
-#undef virtual
#include "main/macros.h"
#include "main/shaderobj.h"