st/dri: do FLUSH_VERTICES before calling flush_resource
[mesa.git] / src / gallium / state_trackers / dri / dri_context.h
index 96f06442fa0297740edf409b542b86ede78bbbed..96e21e0695c7f339417bc8a18b7b0d8de5c5373b 100644 (file)
@@ -84,14 +84,11 @@ dri_get_current(__DRIscreen * driScreenPriv);
 
 boolean
 dri_create_context(gl_api api,
-                  const struct gl_config * visual,
-                  __DRIcontext * driContextPriv,
-                  unsigned major_version,
-                  unsigned minor_version,
-                  uint32_t flags,
-                  bool notify_reset,
-                  unsigned *error,
-                  void *sharedContextPrivate);
+                   const struct gl_config * visual,
+                   __DRIcontext * driContextPriv,
+                   const struct __DriverContextConfig *ctx_config,
+                   unsigned *error,
+                   void *sharedContextPrivate);
 
 #endif