diff options
author | Alexander Larsson <alexl@redhat.com> | 2014-11-20 15:36:21 +0100 |
---|---|---|
committer | Alexander Larsson <alexl@redhat.com> | 2014-11-20 15:37:40 +0100 |
commit | 442adf6359867746f0d96887507a1cf87bdeba06 (patch) | |
tree | 3a85d1a9e5a5a4103de3fcefa3d6cf9380882d1f /gdk/gdkgl.c | |
parent | 47440588327d324ab61e4c0956f48c60927a7847 (diff) | |
download | gtk+-442adf6359867746f0d96887507a1cf87bdeba06.tar.gz |
GL: Fix typo in gdk_gl_texture_from_surface
Got a sign wrong in commit 800c712738f5666937e32d9f8cb32353513b9423
Diffstat (limited to 'gdk/gdkgl.c')
-rw-r--r-- | gdk/gdkgl.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdk/gdkgl.c b/gdk/gdkgl.c index d693ca0350..6c76e8379a 100644 --- a/gdk/gdkgl.c +++ b/gdk/gdkgl.c @@ -700,7 +700,7 @@ gdk_gl_texture_from_surface (cairo_surface_t *surface, { cairo_region_get_rectangle (region, i, &rect); - glScissor (rect.x * window_scale, unscaled_window_height - (rect.y - rect.height) * window_scale, + glScissor (rect.x * window_scale, unscaled_window_height - (rect.y + rect.height) * window_scale, rect.width * window_scale, rect.height * window_scale); e = rect; |