[gtk/wip/chergert/glproto: 904/920] keep compare same as draw
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/wip/chergert/glproto: 904/920] keep compare same as draw
- Date: Mon, 8 Feb 2021 19:15:48 +0000 (UTC)
commit 2ca6d3bfe216926c597dcb508a5fef61bf244bbc
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]