summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrian <brian.paul@tungstengraphics.com>2007-07-30 08:13:40 -0600
committerBrian <brian.paul@tungstengraphics.com>2007-07-30 08:13:40 -0600
commitbaac66cb0519cb85373fb079696d44e42d382577 (patch)
treee35f6c40657fe2a6eb36a3f74be2ba5c37e8258e
parent501b5305b939ac38177dcd73ec72f4a39296e0c4 (diff)
remove old comment, minor formatting fixes
-rw-r--r--src/mesa/main/dlist.c13
1 files changed, 5 insertions, 8 deletions
diff --git a/src/mesa/main/dlist.c b/src/mesa/main/dlist.c
index f50c19f2ce..be2f438a94 100644
--- a/src/mesa/main/dlist.c
+++ b/src/mesa/main/dlist.c
@@ -1,8 +1,8 @@
/*
* Mesa 3-D graphics library
- * Version: 6.5.1
+ * Version: 7.1
*
- * Copyright (C) 1999-2006 Brian Paul All Rights Reserved.
+ * Copyright (C) 1999-2007 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"),
@@ -2716,9 +2716,6 @@ save_PolygonMode(GLenum face, GLenum mode)
}
-/*
- * Polygon stipple must have been upacked already!
- */
static void GLAPIENTRY
save_PolygonStipple(const GLubyte * pattern)
{
@@ -2730,10 +2727,10 @@ save_PolygonStipple(const GLubyte * pattern)
n = ALLOC_INSTRUCTION(ctx, OPCODE_POLYGON_STIPPLE, 1);
if (n) {
n[1].data = image;
- } else if (image) {
- _mesa_free(image);
}
-
+ else if (image) {
+ _mesa_free(image);
+ }
if (ctx->ExecuteFlag) {
CALL_PolygonStipple(ctx->Exec, ((GLubyte *) pattern));
}