summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2005-02-28 17:45:11 +0000
committerBrian Paul <[email protected]>2005-02-28 17:45:11 +0000
commit80875253ce0e166bd8f529ba9b869139ce82902a (patch)
treec9b5b96fc5c612078d75948c4c9e620bc9adb009
parentd1e40c9bddc3516da0facf0d2f3f7db4533a1396 (diff)
additional parenthesis in TNL_CONTEXT macro (Nicolai Haehnle)
-rw-r--r--src/mesa/tnl/t_context.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mesa/tnl/t_context.h b/src/mesa/tnl/t_context.h
index 56fc2013dc3..5adde5f84fc 100644
--- a/src/mesa/tnl/t_context.h
+++ b/src/mesa/tnl/t_context.h
@@ -1,8 +1,8 @@
/*
* mesa 3-D graphics library
- * Version: 5.1
+ * Version: 6.3
*
- * Copyright (C) 1999-2003 Brian Paul All Rights Reserved.
+ * Copyright (C) 1999-2005 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"),
@@ -796,7 +796,7 @@ typedef struct
-#define TNL_CONTEXT(ctx) ((TNLcontext *)(ctx->swtnl_context))
+#define TNL_CONTEXT(ctx) ((TNLcontext *)((ctx)->swtnl_context))
#define TYPE_IDX(t) ((t) & 0xf)