Skip to content
Snippets Groups Projects
Commit 1deda22b authored by Ian Romanick's avatar Ian Romanick Committed by Emil Velikov
Browse files

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


This reverts commit 9e7149c8.

Acked-by: default avatarFredrik Höglund <fredrik@kde.org>
Cc: "10.6" <mesa-stable@lists.freedesktop.org>
(cherry picked from commit ae545775)
parent ef6670ca
No related branches found
No related tags found
No related merge requests found
......@@ -221,13 +221,6 @@ void GLAPIENTRY
_mesa_CreateSamplers(GLsizei count, GLuint *samplers)
{
GET_CURRENT_CONTEXT(ctx);
if (!ctx->Extensions.ARB_direct_state_access) {
_mesa_error(ctx, GL_INVALID_OPERATION, "glCreateSamplers("
"GL_ARB_direct_state_access is not supported)");
return;
}
create_samplers(ctx, count, samplers, "glCreateSamplers");
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment