diff options
author | Aapo Tahkola <[email protected]> | 2005-01-28 09:57:06 +0000 |
---|---|---|
committer | Aapo Tahkola <[email protected]> | 2005-01-28 09:57:06 +0000 |
commit | f856b3f10f5c0feb5243d3f78c733099f47e1c54 (patch) | |
tree | 942422d4e34537e067c1f72f86dc5dbb00be6545 /src/mesa/drivers/dri/r300/r300_texstate.c | |
parent | 6398a97affb8d2dde90dd77cb65aef8e9827e63d (diff) |
Add basic sceleton for vertex programs + some other fixes
Diffstat (limited to 'src/mesa/drivers/dri/r300/r300_texstate.c')
-rw-r--r-- | src/mesa/drivers/dri/r300/r300_texstate.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/r300/r300_texstate.c b/src/mesa/drivers/dri/r300/r300_texstate.c index c7b5e7d2a98..366767bc227 100644 --- a/src/mesa/drivers/dri/r300/r300_texstate.c +++ b/src/mesa/drivers/dri/r300/r300_texstate.c @@ -289,7 +289,7 @@ static void r300SetTexImages(r300ContextPtr rmesa, t->format_x |= (log2Depth << R200_DEPTH_LOG2_SHIFT); t->format_x |= R200_TEXCOORD_VOLUME; } else if (tObj->Target == GL_TEXTURE_CUBE_MAP) { - ASSERT(log2Width == log2height); + ASSERT(log2Width == log2Height); t->format |= ((log2Width << R200_TXFORMAT_F5_WIDTH_SHIFT) | (log2Height << R200_TXFORMAT_F5_HEIGHT_SHIFT) | (R200_TXFORMAT_CUBIC_MAP_ENABLE)); |