aboutsummaryrefslogtreecommitdiff
path: root/mesalib/include/GL/internal/dri_interface.h
diff options
context:
space:
mode:
authormarha <marha@users.sourceforge.net>2011-02-04 16:20:01 +0000
committermarha <marha@users.sourceforge.net>2011-02-04 16:20:01 +0000
commit39522c7dc587b335b0e0e00fc68f98e6a7a5c7bd (patch)
treeed5244b4eba2647e525e8dd78e56763b55a7c723 /mesalib/include/GL/internal/dri_interface.h
parent83a4fe0dc71aafbef11477b284abe530d3877556 (diff)
downloadvcxsrv-39522c7dc587b335b0e0e00fc68f98e6a7a5c7bd.tar.gz
vcxsrv-39522c7dc587b335b0e0e00fc68f98e6a7a5c7bd.tar.bz2
vcxsrv-39522c7dc587b335b0e0e00fc68f98e6a7a5c7bd.zip
libfontenc libXinerama mesa git update 4 feb 2011
Diffstat (limited to 'mesalib/include/GL/internal/dri_interface.h')
-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 42d6968ce..035152677 100644
--- a/mesalib/include/GL/internal/dri_interface.h
+++ b/mesalib/include/GL/internal/dri_interface.h
@@ -657,7 +657,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;
@@ -670,6 +670,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);
};
/**