mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-07 20:08:06 +02:00
radeon: use t->bo to figure out of settexbuffer override is in action
This commit is contained in:
parent
eba8008916
commit
9d72a75917
2 changed files with 5 additions and 1 deletions
|
|
@ -1408,6 +1408,10 @@ static void setup_hardware_state(r200ContextPtr rmesa, radeonTexObj *t)
|
|||
t->base.Image[0][t->mt->firstLevel];
|
||||
GLint log2Width, log2Height, log2Depth, texelBytes;
|
||||
|
||||
if ( t->bo ) {
|
||||
return;
|
||||
}
|
||||
|
||||
log2Width = firstImage->WidthLog2;
|
||||
log2Height = firstImage->HeightLog2;
|
||||
log2Depth = firstImage->DepthLog2;
|
||||
|
|
|
|||
|
|
@ -1006,7 +1006,7 @@ static GLboolean setup_hardware_state(r100ContextPtr rmesa, radeonTexObj *t, int
|
|||
const struct gl_texture_image *firstImage;
|
||||
GLint log2Width, log2Height, log2Depth, texelBytes;
|
||||
|
||||
if ( t->image_override ) {
|
||||
if ( t->bo ) {
|
||||
return GL_TRUE;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue