[gtk/wip/chergert/glproto] next: include current frame id for texture
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/wip/chergert/glproto] next: include current frame id for texture
- Date: Mon, 22 Feb 2021 20:34:25 +0000 (UTC)
commit b7dce5d382cef12ce30ce699adbfe34107d854e1
Author: Christian Hergert <chergert redhat com>
Date: Mon Feb 22 12:28:37 2021 -0800
next: include current frame id for texture
gsk/next/gskgldriver.c | 1 +
1 file changed, 1 insertion(+)
---
diff --git a/gsk/next/gskgldriver.c b/gsk/next/gskgldriver.c
index 03cb15a356..f32ebbffd8 100644
--- a/gsk/next/gskgldriver.c
+++ b/gsk/next/gskgldriver.c
@@ -817,6 +817,7 @@ gsk_next_driver_create_texture (GskNextDriver *self,
g_hash_table_insert (self->textures,
GUINT_TO_POINTER (texture->texture_id),
texture);
+ texture->last_used_in_frame = self->current_frame_id;
return texture;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]