summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/matrix.c
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2002-02-15 16:24:37 +0000
committerBrian Paul <[email protected]>2002-02-15 16:24:37 +0000
commit4ba35633d65be1ade60946bba36b5dd51880e13a (patch)
treebda8d931599bf38be5c4849275ca3e0d88b8698d /src/mesa/main/matrix.c
parentc4c4213b69b599bcdefe1c7720908fe5884f44b6 (diff)
fixed a multitexture MatrixMode() bug
Diffstat (limited to 'src/mesa/main/matrix.c')
-rw-r--r--src/mesa/main/matrix.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mesa/main/matrix.c b/src/mesa/main/matrix.c
index 6dbb4144fd9..eaec178b0a1 100644
--- a/src/mesa/main/matrix.c
+++ b/src/mesa/main/matrix.c
@@ -1,4 +1,4 @@
-/* $Id: matrix.c,v 1.38 2001/12/18 04:06:45 brianp Exp $ */
+/* $Id: matrix.c,v 1.39 2002/02/15 16:24:37 brianp Exp $ */
/*
* Mesa 3-D graphics library
@@ -108,7 +108,7 @@ _mesa_MatrixMode( GLenum mode )
GET_CURRENT_CONTEXT(ctx);
ASSERT_OUTSIDE_BEGIN_END(ctx);
- if (ctx->Transform.MatrixMode == mode)
+ if (ctx->Transform.MatrixMode == mode && mode != GL_TEXTURE)
return;
FLUSH_VERTICES(ctx, _NEW_TRANSFORM);