projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4b387ee
)
glu/sgi: Remove dead initialization in extract565rev.
author
Vinson Lee
<vlee@vmware.com>
Fri, 16 Jul 2010 08:11:03 +0000
(
01:11
-0700)
committer
Vinson Lee
<vlee@vmware.com>
Fri, 16 Jul 2010 08:11:03 +0000
(
01:11
-0700)
src/glu/sgi/libutil/mipmap.c
patch
|
blob
|
history
diff --git
a/src/glu/sgi/libutil/mipmap.c
b/src/glu/sgi/libutil/mipmap.c
index 52515dfab7888777a3661aa6ea87d8d997762b18..026ab849c1b82e14df8ca6bab9bf73293a3fa0da 100644
(file)
--- a/
src/glu/sgi/libutil/mipmap.c
+++ b/
src/glu/sgi/libutil/mipmap.c
@@
-5593,7
+5593,7
@@
static void shove565(const GLfloat shoveComponents[],
static void extract565rev(int isSwap,
const void *packedPixel, GLfloat extractComponents[])
{
- GLushort ushort
= *(const GLushort *)packedPixel
;
+ GLushort ushort;
if (isSwap) {
ushort= __GLU_SWAP_2_BYTES(packedPixel);