[gtk/wip/chergert/glproto: 263/526] fix assertion
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/wip/chergert/glproto: 263/526] fix assertion
- Date: Tue, 16 Feb 2021 01:14:31 +0000 (UTC)
commit aae50ebaa9ee963ad584f12ee5503a29fbe6ba2f
Author: Christian Hergert <chergert redhat com>
Date: Fri Jan 15 16:59:11 2021 -0800
fix assertion
gsk/next/gskglrenderjob.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/gsk/next/gskglrenderjob.c b/gsk/next/gskglrenderjob.c
index 3d45bfb2a7..6c52a442a6 100644
--- a/gsk/next/gskglrenderjob.c
+++ b/gsk/next/gskglrenderjob.c
@@ -1839,10 +1839,10 @@ gsk_gl_render_job_visit_blurred_inset_shadow_node (GskGLRenderJob *job,
outline_to_blur.corner[i].height *= scale_y;
}
- if (gsk_next_driver_create_render_target (job->driver,
- texture_width, texture_height,
- GL_NEAREST, GL_NEAREST,
- &render_target))
+ if (!gsk_next_driver_create_render_target (job->driver,
+ texture_width, texture_height,
+ GL_NEAREST, GL_NEAREST,
+ &render_target))
g_assert_not_reached ();
gsk_gl_render_state_save (&state, job);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]