[gtk/wip/chergert/glproto] keep compare same as draw
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/wip/chergert/glproto] keep compare same as draw
- Date: Thu, 4 Feb 2021 21:50:26 +0000 (UTC)
commit 43441b556bc0b9aeef49f4c8798453bb18c978f4
Author: Christian Hergert <chergert redhat com>
Date: Thu Feb 4 13:52:35 2021 -0800
keep compare same as draw
gsk/next/gskglcommandqueue.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/gsk/next/gskglcommandqueue.c b/gsk/next/gskglcommandqueue.c
index 82ec6c13cc..1508e62645 100644
--- a/gsk/next/gskglcommandqueue.c
+++ b/gsk/next/gskglcommandqueue.c
@@ -838,7 +838,7 @@ gsk_gl_command_queue_execute (GskGLCommandQueue *self,
switch (batch->any.kind)
{
case GSK_GL_COMMAND_KIND_CLEAR:
- if G_UNLIKELY (framebuffer != batch->clear.framebuffer)
+ if G_UNLIKELY (batch->clear.framebuffer != framebuffer)
{
framebuffer = batch->clear.framebuffer;
glBindFramebuffer (GL_FRAMEBUFFER, framebuffer);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]