aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri/common
diff options
context:
space:
mode:
authorMarek Olšák <[email protected]>2018-04-08 13:13:08 -0400
committerMarek Olšák <[email protected]>2018-04-12 19:31:30 -0400
commit43d66c8c2d4d3d4dee1309856b6ce6c5393682e5 (patch)
tree1d2ffdca4a8cf765e8db3c71e491df6611c45556 /src/mesa/drivers/dri/common
parent57f4268da49ce6969e597fe3441d6a9cd8bac562 (diff)
mesa: include mtypes.h less
- remove mtypes.h from most header files - add main/menums.h for often used definitions - remove main/core.h v2: fix radv build Reviewed-by: Brian Paul <[email protected]>
Diffstat (limited to 'src/mesa/drivers/dri/common')
-rw-r--r--src/mesa/drivers/dri/common/dri_util.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/common/dri_util.h b/src/mesa/drivers/dri/common/dri_util.h
index 5018f2fbf68..062c83f79ec 100644
--- a/src/mesa/drivers/dri/common/dri_util.h
+++ b/src/mesa/drivers/dri/common/dri_util.h
@@ -55,10 +55,14 @@
#include <GL/gl.h>
#include <GL/internal/dri_interface.h>
-#include "main/mtypes.h"
+#include "main/menums.h"
+#include "main/formats.h"
#include "util/xmlconfig.h"
#include <stdbool.h>
+struct gl_config;
+struct gl_context;
+
/**
* Extensions.
*/