Mesa (master): i965g: include brw_types.h instead of GL/gl.h

Brian Paul brianp at kemper.freedesktop.org
Tue Jan 4 14:25:16 UTC 2011


Module: Mesa
Branch: master
Commit: 6a102074bb30e44273e999ee8cdd2afbfbc4e333
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=6a102074bb30e44273e999ee8cdd2afbfbc4e333

Author: Brian Paul <brianp at vmware.com>
Date:   Tue Jan  4 07:24:36 2011 -0700

i965g: include brw_types.h instead of GL/gl.h

Alternately, some search&replace could be used to replace all
occurances of GLint with int, etc. in the driver.

---

 src/gallium/drivers/i965/intel_structs.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/gallium/drivers/i965/intel_structs.h b/src/gallium/drivers/i965/intel_structs.h
index 8ecb998..ec6eec8 100644
--- a/src/gallium/drivers/i965/intel_structs.h
+++ b/src/gallium/drivers/i965/intel_structs.h
@@ -1,7 +1,7 @@
 #ifndef INTEL_STRUCTS_H
 #define INTEL_STRUCTS_H
 
-#include <GL/gl.h>
+#include "brw_types.h"
 
 struct br0 {
    GLuint length:8;




More information about the mesa-commit mailing list