glu/sgi: Remove dead initialization in extract565rev.

This commit is contained in:
Vinson Lee 2010-07-16 01:11:03 -07:00
parent 4b387ee087
commit 6f6c8ec7b7
1 changed files with 1 additions and 1 deletions

View File

@ -5593,7 +5593,7 @@ static void shove565(const GLfloat shoveComponents[],
static void extract565rev(int isSwap, static void extract565rev(int isSwap,
const void *packedPixel, GLfloat extractComponents[]) const void *packedPixel, GLfloat extractComponents[])
{ {
GLushort ushort= *(const GLushort *)packedPixel; GLushort ushort;
if (isSwap) { if (isSwap) {
ushort= __GLU_SWAP_2_BYTES(packedPixel); ushort= __GLU_SWAP_2_BYTES(packedPixel);