aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa
diff options
context:
space:
mode:
authorRoland Scheidegger <[email protected]>2006-01-30 23:36:42 +0000
committerRoland Scheidegger <[email protected]>2006-01-30 23:36:42 +0000
commita45f23bed141fc23300b8cd6960ba95e883a57bf (patch)
tree9eec65d5e84fb44d525a7a348f928c32a4bc737f /src/mesa
parent4b4cc650e1e7ba4925728c34c37358a3bc5a14a3 (diff)
fix broken assertion to make radeon driver compile with -DDEBUG...
Diffstat (limited to 'src/mesa')
-rw-r--r--src/mesa/drivers/dri/radeon/radeon_texstate.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/radeon/radeon_texstate.c b/src/mesa/drivers/dri/radeon/radeon_texstate.c
index ccf08850c2a..3467832a3b0 100644
--- a/src/mesa/drivers/dri/radeon/radeon_texstate.c
+++ b/src/mesa/drivers/dri/radeon/radeon_texstate.c
@@ -859,7 +859,7 @@ static void import_tex_obj_state( radeonContextPtr rmesa,
if (texobj->base.tObj->Target == GL_TEXTURE_CUBE_MAP) {
GLuint *cube_cmd = RADEON_DB_STATE( cube[unit] );
GLuint bytesPerFace = texobj->base.totalSize / 6;
- ASSERT(texobj->totalSize % 6 == 0);
+ ASSERT(texobj->base.totalSize % 6 == 0);
cube_cmd[CUBE_PP_CUBIC_FACES] = texobj->pp_cubic_faces;
/* dont know if this setup conforms to OpenGL..