additional parenthesis in TNL_CONTEXT macro (Nicolai Haehnle)
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user