mesa: add parenthesis
authorBrian Paul <brian.paul@tungstengraphics.com>
Tue, 17 Jun 2008 17:29:59 +0000 (11:29 -0600)
committerKeith Whitwell <keith@tungstengraphics.com>
Sun, 21 Sep 2008 16:45:41 +0000 (09:45 -0700)
(cherry picked from commit c366fd83b617db6c8c064802ff4bf120d654507d)

src/mesa/main/dd.h

index cd7f54a..ddb3803 100644 (file)
@@ -919,9 +919,9 @@ struct dd_function_table {
    void (*ValidateTnlModule)( GLcontext *ctx, GLuint new_state );
 
 
-#define PRIM_OUTSIDE_BEGIN_END   GL_POLYGON+1
-#define PRIM_INSIDE_UNKNOWN_PRIM GL_POLYGON+2
-#define PRIM_UNKNOWN             GL_POLYGON+3
+#define PRIM_OUTSIDE_BEGIN_END   (GL_POLYGON+1)
+#define PRIM_INSIDE_UNKNOWN_PRIM (GL_POLYGON+2)
+#define PRIM_UNKNOWN             (GL_POLYGON+3)
 
    /**
     * Set by the driver-supplied T&L engine.