fix bracket at wrong place
authorRoland Scheidegger <rscheidegger@gmx.ch>
Thu, 22 Apr 2004 20:04:08 +0000 (20:04 +0000)
committerRoland Scheidegger <rscheidegger@gmx.ch>
Thu, 22 Apr 2004 20:04:08 +0000 (20:04 +0000)
src/mesa/drivers/dri/tdfx/tdfx_tex.c

index 608111032f10e219713bc555592de7b43b62333e..58e6cc480c77e660700967bd3c243c3028343b6d 100644 (file)
@@ -1010,9 +1010,8 @@ tdfxTexImage2D(GLcontext *ctx, GLenum target, GLint level,
                               texImage->Width * texelBytes,
                               0, /* dstImageStride */
                               format, type, pixels, packing);
-    }
 #else
-    texImage->TexFormat->StoreImage(ctx, 2, texImage->Format,
+      texImage->TexFormat->StoreImage(ctx, 2, texImage->Format,
                                     texImage->Format, texImage->Data,
                                     0, 0, 0, /* dstX/Y/Zoffset */
                                     width * texelBytes, /* dstRowStride */
@@ -1020,6 +1019,7 @@ tdfxTexImage2D(GLcontext *ctx, GLenum target, GLint level,
                                     width, height, 1,
                                     format, type, pixels, packing);
 #endif
+    }
 
     RevalidateTexture(ctx, texObj);