summaryrefslogtreecommitdiff
path: root/src/mesa/tnl/t_imm_api.c
diff options
context:
space:
mode:
authorBrian Paul <brian.paul@tungstengraphics.com>2002-06-16 01:09:16 +0000
committerBrian Paul <brian.paul@tungstengraphics.com>2002-06-16 01:09:16 +0000
commitd66ca10c53babe3d78b8b7e8a32a947566be3448 (patch)
tree3b8885a82bd39e44282698ed86ea61fef99409ed /src/mesa/tnl/t_imm_api.c
parente514cfea74c3322b7faba8c41191f8bf883dd24b (diff)
added some braces
Diffstat (limited to 'src/mesa/tnl/t_imm_api.c')
-rw-r--r--src/mesa/tnl/t_imm_api.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/mesa/tnl/t_imm_api.c b/src/mesa/tnl/t_imm_api.c
index 8006276e85..7631e0cbb8 100644
--- a/src/mesa/tnl/t_imm_api.c
+++ b/src/mesa/tnl/t_imm_api.c
@@ -1,4 +1,4 @@
-/* $Id: t_imm_api.c,v 1.29 2002/06/15 02:38:18 brianp Exp $ */
+/* $Id: t_imm_api.c,v 1.30 2002/06/16 01:09:16 brianp Exp $ */
/*
* Mesa 3-D graphics library
@@ -91,16 +91,16 @@ void _tnl_flush_vertices( GLcontext *ctx, GLuint flags )
flags, IM->id, IM->Start, IM->Count, IM->Start,
IM->Flag[IM->Start]);
- if (IM->Flag[IM->Start])
+ if (IM->Flag[IM->Start]) {
if ((flags & FLUSH_UPDATE_CURRENT) ||
IM->Count > IM->Start ||
- (IM->Flag[IM->Start] & (VERT_BEGIN|VERT_END)))
+ (IM->Flag[IM->Start] & (VERT_BEGIN|VERT_END))) {
_tnl_flush_immediate( ctx, IM );
+ }
+ }
}
-
-
void
_tnl_save_Begin( GLenum mode )
{