diff options
author | Vinson Lee <vlee@vmware.com> | 2010-07-16 01:11:03 -0700 |
---|---|---|
committer | Vinson Lee <vlee@vmware.com> | 2010-07-16 01:11:03 -0700 |
commit | 6f6c8ec7b724c088ce087d866d7eadabe95633c3 (patch) | |
tree | 730e92bbfd2354c728d0892d2ba3fac201e6e490 | |
parent | 4b387ee087470df7bf3672882471cd8d108f33cc (diff) |
glu/sgi: Remove dead initialization in extract565rev.
-rw-r--r-- | src/glu/sgi/libutil/mipmap.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/glu/sgi/libutil/mipmap.c b/src/glu/sgi/libutil/mipmap.c index 52515dfab788..026ab849c1b8 100644 --- 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); |