diff options
author | Ian Romanick <ian.d.romanick@intel.com> | 2015-05-18 13:54:18 -0700 |
---|---|---|
committer | Emil Velikov <emil.l.velikov@gmail.com> | 2015-06-03 16:30:40 +0100 |
commit | 1deda22b880c9672650ca8e6efbda37c331bf096 (patch) | |
tree | 22fac9aca0eaadd889df9a0f758fda6dd92e8759 | |
parent | ef6670ca4315c5ad20ea5e9e869997feda637546 (diff) | |
download | mesa-1deda22b880c9672650ca8e6efbda37c331bf096.tar.gz |
Revert "mesa: Add ARB_direct_state_access checks in sampler object functions"
This reverts commit 9e7149c8986348bf9567f049444783ef52775f4e.
Acked-by: Fredrik Höglund <fredrik@kde.org>
Cc: "10.6" <mesa-stable@lists.freedesktop.org>
(cherry picked from commit ae5457754492b594c55911433a9b3675216c46c1)
-rw-r--r-- | src/mesa/main/samplerobj.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/src/mesa/main/samplerobj.c b/src/mesa/main/samplerobj.c index 60711a5b5e3..a3aacc66aa3 100644 --- a/src/mesa/main/samplerobj.c +++ b/src/mesa/main/samplerobj.c @@ -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"); } |