summaryrefslogtreecommitdiff
path: root/src/mesa/main/mtypes.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mesa/main/mtypes.h')
-rw-r--r--src/mesa/main/mtypes.h16
1 files changed, 4 insertions, 12 deletions
diff --git a/src/mesa/main/mtypes.h b/src/mesa/main/mtypes.h
index 73dccf7817..3390fac250 100644
--- a/src/mesa/main/mtypes.h
+++ b/src/mesa/main/mtypes.h
@@ -34,21 +34,17 @@
#define TYPES_H
-#include "glheader.h"
+#include "main/glheader.h"
+#include "main/config.h"
+#include "main/compiler.h"
+#include "main/mfeatures.h"
#include <GL/internal/glcore.h> /* __GLcontextModes (GLvisual) */
-#include "config.h" /* Hardwired parameters */
#include "glapi/glapi.h"
#include "math/m_matrix.h" /* GLmatrix */
#include "bitset.h"
/**
- * Special, internal token
- */
-#define GL_SHADER_PROGRAM_MESA 0x9999
-
-
-/**
* Color channel data type.
*/
#if CHAN_BITS == 8
@@ -126,7 +122,6 @@ struct gl_texture_format;
struct gl_texture_image;
struct gl_texture_object;
struct st_context;
-struct pipe_surface;
typedef struct __GLcontextRec GLcontext;
typedef struct __GLcontextModesRec GLvisual;
typedef struct gl_framebuffer GLframebuffer;
@@ -3166,7 +3161,4 @@ enum _debug
-#define Elements(x) sizeof(x)/sizeof(*(x))
-
-
#endif /* TYPES_H */