mesa/swrast/st: add ARB_occlusion_query2 support.
This gets my vote for most pointless extension of all time, I'm guessing some driver could possibly optimise for this instead of counting it might just get a true/false, but I'm not really sure. need this to eventually advertise 3.3 despite its total uselessness. Signed-off-by: Dave Airlie <airlied@redhat.com>
This commit is contained in:
@@ -259,6 +259,7 @@ _mesa_enable_sw_extensions(struct gl_context *ctx)
|
||||
ctx->Extensions.ARB_multitexture = GL_TRUE;
|
||||
#if FEATURE_queryobj
|
||||
ctx->Extensions.ARB_occlusion_query = GL_TRUE;
|
||||
ctx->Extensions.ARB_occlusion_query2 = GL_TRUE;
|
||||
#endif
|
||||
ctx->Extensions.ARB_point_sprite = GL_TRUE;
|
||||
#if FEATURE_ARB_shader_objects
|
||||
|
Reference in New Issue
Block a user