mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-08 06:20:19 +01:00
mesa: Remove dead error condition.
This commit is contained in:
parent
9be414f4b9
commit
d553479cc4
1 changed files with 1 additions and 1 deletions
|
|
@ -427,7 +427,7 @@ _mesa_GetPixelMapusv( GLenum map, GLushort *values )
|
|||
_mesa_error(ctx, GL_INVALID_ENUM, "glGetPixelMapusv(map)");
|
||||
return;
|
||||
}
|
||||
mapsize = pm ? pm->Size : 0;
|
||||
mapsize = pm->Size;
|
||||
|
||||
if (!validate_pbo_access(ctx, &ctx->Pack, mapsize,
|
||||
GL_INTENSITY, GL_UNSIGNED_SHORT, values)) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue