summaryrefslogtreecommitdiff
path: root/src/mesa/drivers/dri/common/drisw_util.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mesa/drivers/dri/common/drisw_util.h')
-rw-r--r--src/mesa/drivers/dri/common/drisw_util.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/common/drisw_util.h b/src/mesa/drivers/dri/common/drisw_util.h
index 08d5a116e9..2b54b2281f 100644
--- a/src/mesa/drivers/dri/common/drisw_util.h
+++ b/src/mesa/drivers/dri/common/drisw_util.h
@@ -36,6 +36,8 @@
#ifndef _DRISW_UTIL_H
#define _DRISW_UTIL_H
+#include "mtypes.h"
+
#include <GL/gl.h>
#include <GL/internal/glcore.h>
#include <GL/internal/dri_interface.h>
@@ -57,7 +59,8 @@ struct __DriverAPIRec {
void (*DestroyScreen)(__DRIscreen *driScrnPriv);
- GLboolean (*CreateContext)(const __GLcontextModes *glVis,
+ GLboolean (*CreateContext)(gl_api glapi,
+ const __GLcontextModes *glVis,
__DRIcontext *driContextPriv,
void *sharedContextPrivate);