Skip to content

Commit

Permalink
Fix GTK4 icon and text corruption
Browse files Browse the repository at this point in the history
  • Loading branch information
danyeaw authored and nacho committed Aug 13, 2024
1 parent b2cd4b8 commit 6fae5fb
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
11 changes: 11 additions & 0 deletions gvsbuild/patches/gtk4/0001-ngl-icon-drawing-fix.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
--- gtk-4.14.1/gsk/gpu/shaders/common-gl.glsl.orig 2024-03-17 01:52:15.000000000 +0100
+++ gtk-4.14.1/gsk/gpu/shaders/common-gl.glsl 2024-03-29 12:55:20.259693400 +0100
@@ -91,7 +91,7 @@
#define gsk_get_int(id) (floatBitsToInt(gsk_get_float(id)))
#define gsk_get_uint(id) (floatBitsToUint(gsk_get_float(id)))

-#if __VERSION__ < 400 || defined(GSK_GLES)
+#if 1

vec4
gsk_texture (uint id,
1 change: 1 addition & 0 deletions gvsbuild/projects/gtk.py
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,7 @@ def __init__(self):
"glib",
"fribidi",
],
patches=["0001-ngl-icon-drawing-fix.patch"],
)
if self.opts.enable_gi:
self.add_dependency("gobject-introspection")
Expand Down

0 comments on commit 6fae5fb

Please sign in to comment.