mesa: remove incorrect change for EXT_disjoint_timer_query
Reviewed-by: Tapani Pälli <tapani.palli@intel.com> Tested-by: Dieter Nützel <Dieter@nuetzel-hh.de>
This commit is contained in:
@@ -822,8 +822,7 @@ get_query_object(struct gl_context *ctx, const char *func,
|
||||
if (buf && buf != ctx->Shared->NullBufferObj) {
|
||||
bool is_64bit = ptype == GL_INT64_ARB ||
|
||||
ptype == GL_UNSIGNED_INT64_ARB;
|
||||
if (!ctx->Extensions.ARB_query_buffer_object &&
|
||||
!ctx->Extensions.EXT_disjoint_timer_query) {
|
||||
if (!ctx->Extensions.ARB_query_buffer_object) {
|
||||
_mesa_error(ctx, GL_INVALID_OPERATION, "%s(not supported)", func);
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user