diff options
author | Dave Airlie <[email protected]> | 2009-01-14 06:28:43 +1000 |
---|---|---|
committer | Dave Airlie <[email protected]> | 2009-01-14 06:28:43 +1000 |
commit | b6e486906968d82c7b8a869d7ab51697a7cce80c (patch) | |
tree | e5a3989235c61749fe79f34fdd1f8120fb1dc4c8 /src/mesa/drivers/dri/radeon/radeon_state_init.c | |
parent | 692ca82116485a9c6191e5265c5b369d5b4f82f3 (diff) |
radeon/r200: move state atom to common header
Diffstat (limited to 'src/mesa/drivers/dri/radeon/radeon_state_init.c')
-rw-r--r-- | src/mesa/drivers/dri/radeon/radeon_state_init.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/mesa/drivers/dri/radeon/radeon_state_init.c b/src/mesa/drivers/dri/radeon/radeon_state_init.c index 57dc3800501..5b1e79bad24 100644 --- a/src/mesa/drivers/dri/radeon/radeon_state_init.c +++ b/src/mesa/drivers/dri/radeon/radeon_state_init.c @@ -96,14 +96,14 @@ static int cmdscl( int offset, int stride, int count ) return h.i; } -#define CHECK( NM, FLAG ) \ -static GLboolean check_##NM( GLcontext *ctx ) \ -{ \ - return FLAG; \ +#define CHECK( NM, FLAG ) \ +static GLboolean check_##NM( GLcontext *ctx, int idx ) \ +{ \ + return FLAG; \ } #define TCL_CHECK( NM, FLAG ) \ -static GLboolean check_##NM( GLcontext *ctx ) \ +static GLboolean check_##NM( GLcontext *ctx, int idx ) \ { \ radeonContextPtr rmesa = RADEON_CONTEXT(ctx); \ return !rmesa->TclFallback && (FLAG); \ |