Revert "mesa: Add ARB_direct_state_access checks in sampler object functions"
This reverts commit 9e7149c898
.
Acked-by: Fredrik Höglund <fredrik@kde.org>
Cc: "10.6" <mesa-stable@lists.freedesktop.org>
This commit is contained in:
parent
a9dcf45cd8
commit
ae54577544
|
@ -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");
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue