[gtk/wip/baedert/for-master: 24/54] glsl: Add a comment




commit 0758bb020d54a3ac075fb26ba2da6f5533f0fc48
Author: Timm Bäder <mail baedert org>
Date:   Thu Oct 8 17:58:37 2020 +0200

    glsl: Add a comment

 gsk/resources/glsl/preamble.glsl | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/gsk/resources/glsl/preamble.glsl b/gsk/resources/glsl/preamble.glsl
index 091438b3b4..47cc21b004 100644
--- a/gsk/resources/glsl/preamble.glsl
+++ b/gsk/resources/glsl/preamble.glsl
@@ -15,7 +15,7 @@ precision highp float;
 
 struct GskRoundedRect
 {
-  vec4 bounds;
+  vec4 bounds; // Top left and bottom right
   // Look, arrays can't be in structs if you want to return the struct
   // from a function in gles or whatever. Just kill me.
   vec4 corner_points1; // xy = top left, zw = top right


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]