projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9be414f
)
mesa: Remove dead error condition.
author
Vinson Lee
<vlee@vmware.com>
Thu, 25 Feb 2010 10:26:18 +0000
(
02:26
-0800)
committer
Vinson Lee
<vlee@vmware.com>
Thu, 25 Feb 2010 10:26:18 +0000
(
02:26
-0800)
src/mesa/main/pixel.c
patch
|
blob
|
history
diff --git
a/src/mesa/main/pixel.c
b/src/mesa/main/pixel.c
index f6c316a5803784a3807f78eb3fa2bbc26b7e5d6f..e2e3854fc80326837f917b3b0dbce9996935494c 100644
(file)
--- a/
src/mesa/main/pixel.c
+++ b/
src/mesa/main/pixel.c
@@
-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)) {