aboutsummaryrefslogtreecommitdiff
path: root/mesalib/include/GL/internal
diff options
context:
space:
mode:
authormarha <marha@users.sourceforge.net>2011-02-04 16:28:55 +0000
committermarha <marha@users.sourceforge.net>2011-02-04 16:28:55 +0000
commit5b7cc430132c47f9e4e84fd1830abc6aead39954 (patch)
tree4e2138ab7310c62b3f877b662d752d7c8c233f00 /mesalib/include/GL/internal
parent573e5c4f462c3f97697f16388025a8e13469487c (diff)
parent39522c7dc587b335b0e0e00fc68f98e6a7a5c7bd (diff)
downloadvcxsrv-5b7cc430132c47f9e4e84fd1830abc6aead39954.tar.gz
vcxsrv-5b7cc430132c47f9e4e84fd1830abc6aead39954.tar.bz2
vcxsrv-5b7cc430132c47f9e4e84fd1830abc6aead39954.zip
svn merge ^/branches/released .
Diffstat (limited to 'mesalib/include/GL/internal')
-rw-r--r--mesalib/include/GL/internal/dri_interface.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/mesalib/include/GL/internal/dri_interface.h b/mesalib/include/GL/internal/dri_interface.h
index 68212d8df..e4ae1e7e4 100644
--- a/mesalib/include/GL/internal/dri_interface.h
+++ b/mesalib/include/GL/internal/dri_interface.h
@@ -659,7 +659,7 @@ struct __DRIlegacyExtensionRec {
* conjunction with the core extension.
*/
#define __DRI_SWRAST "DRI_SWRast"
-#define __DRI_SWRAST_VERSION 1
+#define __DRI_SWRAST_VERSION 2
struct __DRIswrastExtensionRec {
__DRIextension base;
@@ -672,6 +672,13 @@ struct __DRIswrastExtensionRec {
__DRIdrawable *(*createNewDrawable)(__DRIscreen *screen,
const __DRIconfig *config,
void *loaderPrivate);
+
+ /* Since version 2 */
+ __DRIcontext *(*createNewContextForAPI)(__DRIscreen *screen,
+ int api,
+ const __DRIconfig *config,
+ __DRIcontext *shared,
+ void *data);
};
/**