mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-29 01:30:08 +01:00
mesa: remove redudant check
CID: 1461410 Signed-off-by: Tapani Pälli <tapani.palli@intel.com> Reviewed-by: Andres Gomez <agomez@igalia.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4500>
This commit is contained in:
parent
25a61cce7d
commit
fd24172200
1 changed files with 0 additions and 4 deletions
|
|
@ -53,10 +53,6 @@ buffer_object_purgeable(struct gl_context *ctx, GLuint name, GLenum option)
|
|||
"glObjectPurgeable(name = 0x%x)", name);
|
||||
return 0;
|
||||
}
|
||||
if (!bufObj) {
|
||||
_mesa_error(ctx, GL_INVALID_OPERATION, "glObjectPurgeable(buffer 0)" );
|
||||
return 0;
|
||||
}
|
||||
|
||||
if (bufObj->Purgeable) {
|
||||
_mesa_error(ctx, GL_INVALID_OPERATION,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue