summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorRoland Scheidegger <[email protected]>2004-04-22 20:04:08 +0000
committerRoland Scheidegger <[email protected]>2004-04-22 20:04:08 +0000
commit6d3dc3b8d66843ae23d374ab2d69b8e0c9717a68 (patch)
treee05b3fe70c80e7069046b92a21fa5d29f1ec27bc /src
parent580548d0461515b4665024c15dfa41d2e0ca7e37 (diff)
fix bracket at wrong place
Diffstat (limited to 'src')
-rw-r--r--src/mesa/drivers/dri/tdfx/tdfx_tex.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mesa/drivers/dri/tdfx/tdfx_tex.c b/src/mesa/drivers/dri/tdfx/tdfx_tex.c
index 608111032f1..58e6cc480c7 100644
--- a/src/mesa/drivers/dri/tdfx/tdfx_tex.c
+++ b/src/mesa/drivers/dri/tdfx/tdfx_tex.c
@@ -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);