added missing break (Leif Delgass)
authorBrian Paul <brian.paul@tungstengraphics.com>
Tue, 21 Jan 2003 23:58:29 +0000 (23:58 +0000)
committerBrian Paul <brian.paul@tungstengraphics.com>
Tue, 21 Jan 2003 23:58:29 +0000 (23:58 +0000)
src/mesa/main/texstate.c

index 6762ee9ea91a22ff9231632e32a28873916e7df4..e640cea001de09c84b95fb8e4cf4af2c9c3f69f2 100644 (file)
@@ -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;