projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3471ac9
)
glu/sgi: Remove dead initialization in extract565.
author
Vinson Lee
<vlee@vmware.com>
Thu, 15 Jul 2010 08:42:02 +0000
(
01:42
-0700)
committer
Vinson Lee
<vlee@vmware.com>
Thu, 15 Jul 2010 08:42:02 +0000
(
01:42
-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 8e63eaaad77e1a9aee02899257f06b724b14b1fc..52515dfab7888777a3661aa6ea87d8d997762b18 100644
(file)
--- a/
src/glu/sgi/libutil/mipmap.c
+++ b/
src/glu/sgi/libutil/mipmap.c
@@
-5552,7
+5552,7
@@
static void shove233rev(const GLfloat shoveComponents[],
static void extract565(int isSwap,
const void *packedPixel, GLfloat extractComponents[])
{
- GLushort ushort
= *(const GLushort *)packedPixel
;
+ GLushort ushort;
if (isSwap) {
ushort= __GLU_SWAP_2_BYTES(packedPixel);