projects
/
mesa.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
glu/sgi: Remove dead initialization in extract565rev.
[mesa.git]
/
src
/
glu
/
sgi
/
libutil
/
mipmap.c
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);