diff options
author | Pauli Nieminen <suokkos@gmail.com> | 2009-08-25 19:28:00 +0300 |
---|---|---|
committer | Pauli Nieminen <suokkos@gmail.com> | 2009-08-25 19:35:41 +0300 |
commit | c3374bf97ecd82b915fb29c7c04951e2b75d4dbc (patch) | |
tree | f00b6561f6c8e27a5058f2aae601629d7844b64d /src/mesa/drivers/dri/radeon/radeon_span.c | |
parent | 42ecb1287ebb8b6f29d300e8dcb0e9487504dabc (diff) | |
download | external_mesa3d-c3374bf97ecd82b915fb29c7c04951e2b75d4dbc.zip external_mesa3d-c3374bf97ecd82b915fb29c7c04951e2b75d4dbc.tar.gz external_mesa3d-c3374bf97ecd82b915fb29c7c04951e2b75d4dbc.tar.bz2 |
radeon: Fix all compiler warnings.
Diffstat (limited to 'src/mesa/drivers/dri/radeon/radeon_span.c')
-rw-r--r-- | src/mesa/drivers/dri/radeon/radeon_span.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/radeon/radeon_span.c b/src/mesa/drivers/dri/radeon/radeon_span.c index 5e4bf00..4e100d8 100644 --- a/src/mesa/drivers/dri/radeon/radeon_span.c +++ b/src/mesa/drivers/dri/radeon/radeon_span.c @@ -55,6 +55,7 @@ static void radeonSetSpanFunctions(struct radeon_renderbuffer *rrb); /* r200 depth buffer is always tiled - this is the formula according to the docs unless I typo'ed in it */ +#if defined(RADEON_COMMON_FOR_R200) static GLubyte *r200_depth_2byte(const struct radeon_renderbuffer * rrb, GLint x, GLint y) { @@ -103,6 +104,7 @@ static GLubyte *r200_depth_4byte(const struct radeon_renderbuffer * rrb, } return &ptr[offset]; } +#endif /* radeon tiling on r300-r500 has 4 states, macro-linear/micro-linear |