mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-07 09:18:04 +02:00
r200: fix texture level for compiz case
This commit is contained in:
parent
02b130fd4b
commit
1fd76ae930
1 changed files with 2 additions and 2 deletions
|
|
@ -1422,8 +1422,8 @@ void set_re_cntl_d3d( GLcontext *ctx, int unit, GLboolean use_d3d )
|
|||
*/
|
||||
static void setup_hardware_state(r200ContextPtr rmesa, radeonTexObj *t)
|
||||
{
|
||||
const struct gl_texture_image *firstImage =
|
||||
t->base.Image[0][t->mt->firstLevel];
|
||||
int firstlevel = t->mt ? t->mt->firstLevel : 0;
|
||||
const struct gl_texture_image *firstImage = t->base.Image[0][firstlevel];
|
||||
GLint log2Width, log2Height, log2Depth, texelBytes;
|
||||
|
||||
if ( t->bo ) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue