Revert "mesa: Add ARB_direct_state_access checks in query object functions"

This reverts commit d3368e0c9e.

Acked-by: Fredrik Höglund <fredrik@kde.org>
Cc: "10.6" <mesa-stable@lists.freedesktop.org>
This commit is contained in:
Ian Romanick 2015-05-18 13:54:11 -07:00
parent f1fcf79e3c
commit a9f678a8f4
1 changed files with 0 additions and 7 deletions

View File

@ -284,13 +284,6 @@ _mesa_CreateQueries(GLenum target, GLsizei n, GLuint *ids)
{
GET_CURRENT_CONTEXT(ctx);
if (!ctx->Extensions.ARB_direct_state_access) {
_mesa_error(ctx, GL_INVALID_OPERATION,
"glCreateQueries(GL_ARB_direct_state_access "
"is not supported)");
return;
}
switch (target) {
case GL_SAMPLES_PASSED:
case GL_ANY_SAMPLES_PASSED: