diff options
author | Jerome Glisse <[email protected]> | 2010-08-06 11:28:33 -0400 |
---|---|---|
committer | Jerome Glisse <[email protected]> | 2010-08-06 11:28:33 -0400 |
commit | 27041d7cb3faeaed483538a228573466363ec1c7 (patch) | |
tree | a9ed56f903d6a6dbf79ae70903944198dcb235ed /src/gallium/drivers/r600/r600_state.c | |
parent | 6e6103004c9c737297b842a4aff298da920e7c33 (diff) |
r600g: fix color format, indentation, defines
Signed-off-by: Jerome Glisse <[email protected]>
Diffstat (limited to 'src/gallium/drivers/r600/r600_state.c')
-rw-r--r-- | src/gallium/drivers/r600/r600_state.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/r600/r600_state.c b/src/gallium/drivers/r600/r600_state.c index e8871cd7481..deb9bf3395a 100644 --- a/src/gallium/drivers/r600/r600_state.c +++ b/src/gallium/drivers/r600/r600_state.c @@ -695,7 +695,7 @@ static struct radeon_state *r600_cb(struct r600_context *rctx, int cb) ntype = 0; desc = util_format_description(rtex->resource.base.b.format); if (desc->colorspace == UTIL_FORMAT_COLORSPACE_SRGB) - ntype = NUM_FORMAT_SRGB; + ntype = V_0280A0_NUMBER_SRGB; format = r600_translate_colorformat(rtex->resource.base.b.format); swap = r600_translate_colorswap(rtex->resource.base.b.format); |