mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-02-04 19:20:38 +01:00
intel: Corresponding FinishRenderTexture debug to BeginRenderTexture.
This commit is contained in:
parent
6613605d79
commit
836803df79
1 changed files with 4 additions and 0 deletions
|
|
@ -598,6 +598,10 @@ intel_finish_render_texture(GLcontext * ctx,
|
|||
struct gl_texture_image *image =
|
||||
tex_obj->Image[att->CubeMapFace][att->TextureLevel];
|
||||
struct intel_texture_image *intel_image = intel_texture_image(image);
|
||||
struct intel_renderbuffer *irb = intel_renderbuffer(att->Renderbuffer);
|
||||
|
||||
DBG("Finish render texture tid %lx tex=%u refcount=%d\n",
|
||||
_glthread_GetID(), att->Texture->Name, irb->Base.RefCount);
|
||||
|
||||
/* Flag that this image may now be validated into the object's miptree. */
|
||||
intel_image->used_as_render_target = GL_FALSE;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue