[Mesa-dev] [PATCH] Update __DRI_TEX_BUFFER_VERSION to 3

Zhenyu Wang zhenyuw at linux.intel.com
Tue Jul 19 23:04:50 PDT 2011


When new releaseTexBuffer function got added, the __DRI_TEX_BUFFER_VERSION
didn't update as well, which just not enable new function at all.
This bumps version to 3.
---
 include/GL/internal/dri_interface.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/include/GL/internal/dri_interface.h b/include/GL/internal/dri_interface.h
index 4fe9e94..22f4ce7 100644
--- a/include/GL/internal/dri_interface.h
+++ b/include/GL/internal/dri_interface.h
@@ -226,7 +226,7 @@ struct __DRItexOffsetExtensionRec {
 #define __DRI_TEXTURE_FORMAT_RGBA        0x20DA
 
 #define __DRI_TEX_BUFFER "DRI_TexBuffer"
-#define __DRI_TEX_BUFFER_VERSION 2
+#define __DRI_TEX_BUFFER_VERSION 3
 struct __DRItexBufferExtensionRec {
     __DRIextension base;
 
-- 
1.7.5.4



More information about the mesa-dev mailing list