summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/texstate.c
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2003-01-21 23:58:29 +0000
committerBrian Paul <[email protected]>2003-01-21 23:58:29 +0000
commit041d5d3aee42f06522baec9a12f353d8173fcde6 (patch)
tree134e4212d8d5ba14d9df18808392e75422b734b8 /src/mesa/main/texstate.c
parentccec647f1c4f2d3f765f6cfff99f9d0240ef60c6 (diff)
added missing break (Leif Delgass)
Diffstat (limited to 'src/mesa/main/texstate.c')
-rw-r--r--src/mesa/main/texstate.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/mesa/main/texstate.c b/src/mesa/main/texstate.c
index 6762ee9ea91..e640cea001d 100644
--- a/src/mesa/main/texstate.c
+++ b/src/mesa/main/texstate.c
@@ -1,10 +1,10 @@
-/* $Id: texstate.c,v 1.92 2003/01/21 15:49:17 brianp Exp $ */
+/* $Id: texstate.c,v 1.93 2003/01/21 23:58:29 brianp Exp $ */
/*
* Mesa 3-D graphics library
* Version: 5.1
*
- * Copyright (C) 1999-2002 Brian Paul All Rights Reserved.
+ * Copyright (C) 1999-2003 Brian Paul All Rights Reserved.
*
* Permission is hereby granted, free of charge, to any person obtaining a
* copy of this software and associated documentation files (the "Software"),
@@ -421,6 +421,7 @@ _mesa_TexEnvfv( GLenum target, GLenum pname, const GLfloat *param )
return;
FLUSH_VERTICES(ctx, _NEW_TEXTURE);
texUnit->CombineOperandRGB[2] = operand;
+ break;
default:
TE_ERROR(GL_INVALID_ENUM, "glTexEnv(param=%s)", operand);
return;