mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-03 22:58:31 +02:00
mesa: minor clean up in check_begin_texture_render()
This commit is contained in:
parent
47a7535f41
commit
b5d6a8e88f
1 changed files with 1 additions and 1 deletions
|
|
@ -1129,7 +1129,7 @@ check_begin_texture_render(GLcontext *ctx, struct gl_framebuffer *fb)
|
|||
struct gl_renderbuffer_attachment *att = fb->Attachment + i;
|
||||
struct gl_texture_object *texObj = att->Texture;
|
||||
if (texObj
|
||||
&& att->Texture->Image[att->CubeMapFace][att->TextureLevel]) {
|
||||
&& texObj->Image[att->CubeMapFace][att->TextureLevel]) {
|
||||
ctx->Driver.RenderTexture(ctx, fb, att);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue