commit 511fcfd54b9c190fb7d8c194daf968338a681452
parent 8e85617d863ac8194c8ccd01bc078ce33c3e3138
Author: Brian Swetland <swetland@frotz.net>
Date: Thu, 12 Sep 2013 18:37:00 -0700
textgrid: now appease the mesa shader compiler
I think it may have a legitimate gripe here, but neither nvidia nor
amd cared about this one...
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/common/assets/textgrid.glsl b/common/assets/textgrid.glsl
@@ -28,7 +28,7 @@ void main() {
pos = uOrtho * pos;
// discard via clipping
- if (aCharacter == uint(0)) pos.z = -1.1;
+ if (aCharacter.x == uint(0)) pos.z = -1.1;
gl_Position = pos;
}