mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-10-25 08:08:50 +00:00
Add explicit cast (gl_InstanceID is int), fixes errors on mesa compiler
This commit is contained in:
1 parent
c5dbd7d6f0
commit
4a80a744c3
1 file changed
+1
-1
@@ -39,7 +39,7 @@ void main(void)
|
||||
vec3( 1.0, 1.0, 0.5));
|
||||
|
||||
vec3 pos = verts[VERTEX_ID];
|
||||
uint strindex = INSTANCE_ID;
|
||||
uint strindex = uint(INSTANCE_ID);
|
||||
|
||||
vec2 charPos = vec2(strindex + pos.x + general.TextPosition.x, pos.y + general.TextPosition.y);
|
||||
|
||||
|
||||
Reference in new issue
Block a user