[gtk/wip/chergert/glproto: 268/526] skip if no texture to render
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc: 
- Subject: [gtk/wip/chergert/glproto: 268/526] skip if no texture to render
- Date: Tue, 16 Feb 2021 01:14:31 +0000 (UTC)
commit a04205175149f484886af778b848b1e06fcb1ffb
Author: Christian Hergert <chergert redhat com>
Date:   Tue Jan 19 14:52:45 2021 -0800
    skip if no texture to render
 gsk/next/gskglglyphlibrary.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/gsk/next/gskglglyphlibrary.c b/gsk/next/gskglglyphlibrary.c
index 3b633bafdc..f527948d16 100644
--- a/gsk/next/gskglglyphlibrary.c
+++ b/gsk/next/gskglglyphlibrary.c
@@ -305,5 +305,5 @@ gsk_gl_glyph_library_add (GskGLGlyphLibrary      *self,
 
   *out_value = value;
 
-  return TRUE;
+  return GSK_GL_TEXTURE_ATLAS_ENTRY_TEXTURE (value) != 0;
 }
[
Date Prev][
Date Next]   [
Thread Prev][
Thread Next]   
[
Thread Index]
[
Date Index]
[
Author Index]