diff options
author | Brian Paul <brian.paul@tungstengraphics.com> | 2005-02-28 17:45:21 +0000 |
---|---|---|
committer | Brian Paul <brian.paul@tungstengraphics.com> | 2005-02-28 17:45:21 +0000 |
commit | fae20567c2c98332e2a424f61578777bcf6e22af (patch) | |
tree | 9859d2906329ed06d7f05d927203293087feab12 | |
parent | d87f2cedb620e2cdf41b6523d96cd8a23b2700f0 (diff) |
additional parenthesis in TNL_CONTEXT macro (Nicolai Haehnle)
-rw-r--r-- | src/mesa/tnl/t_context.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mesa/tnl/t_context.h b/src/mesa/tnl/t_context.h index 47e71c38be..55b405e99c 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.2.2 * - * 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"), @@ -795,7 +795,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) |