[gtk/wip/baedert/css-values: 102/102] gl renderer: Pull a local variable in the closest scope
- From: Timm Bäder <baedert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/wip/baedert/css-values: 102/102] gl renderer: Pull a local variable in the closest scope
- Date: Sat, 18 Jan 2020 07:54:01 +0000 (UTC)
commit 433c8307b2f2025b670ede6012452c865c3c2118
Author: Timm Bäder <mail baedert org>
Date: Fri Jan 17 16:37:29 2020 +0100
gl renderer: Pull a local variable in the closest scope
gsk/gl/gskglrenderer.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/gsk/gl/gskglrenderer.c b/gsk/gl/gskglrenderer.c
index 1753ad0468..81970a61b7 100644
--- a/gsk/gl/gskglrenderer.c
+++ b/gsk/gl/gskglrenderer.c
@@ -753,7 +753,6 @@ render_border_node (GskGLRenderer *self,
const GdkRGBA *colors = gsk_border_node_peek_colors (node);
const GskRoundedRect *rounded_outline = gsk_border_node_peek_outline (node);
const float *og_widths = gsk_border_node_peek_widths (node);
- GskRoundedRect outline;
float widths[4];
int i;
struct {
@@ -877,6 +876,7 @@ render_border_node (GskGLRenderer *self,
}
};
int indices[4] = { 0, 1, 2, 3 };
+ GskRoundedRect outline;
/* We sort them by color */
sort_border_sides (colors, indices);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]