[Mesa-dev] [PATCH 2/3] (gles3) intel: Expose support for DRI_API_GLES3
Chad Versace
chad.versace at linux.intel.com
Tue Nov 20 17:31:09 PST 2012
Set the GLES3 bit in intel_screen's bitmask of supported DRI API's.
Neither the EGL nor GLX layer uses the bit yet.
Signed-off-by: Chad Versace <chad.versace at linux.intel.com>
---
src/mesa/drivers/dri/intel/intel_screen.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/mesa/drivers/dri/intel/intel_screen.c b/src/mesa/drivers/dri/intel/intel_screen.c
index 0194804..411dff8 100644
--- a/src/mesa/drivers/dri/intel/intel_screen.c
+++ b/src/mesa/drivers/dri/intel/intel_screen.c
@@ -1121,6 +1121,7 @@ __DRIconfig **intelInitScreen2(__DRIscreen *psp)
#endif
#if FEATURE_ES2
api_mask |= (1 << __DRI_API_GLES2);
+ api_mask |= (1 << __DRI_API_GLES3);
#endif
if (IS_9XX(intelScreen->deviceID) || IS_965(intelScreen->deviceID))
--
1.7.11.7
More information about the mesa-dev
mailing list