We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fb7fcde commit ce8ac15Copy full SHA for ce8ac15
Quake/gl_shaders.h
@@ -1105,7 +1105,7 @@ ALIAS_INSTANCE_BUFFER
1105
"\n"
1106
" PoseVertex GetPoseVertex (uint pose)\n"
1107
" {\n"
1108
-" uint safePose = clamp(pose, 0, u_numPoses - 1);\n"
+" uint safePose = clamp(pose, 0u, uint(u_numPoses - 1));\n"
1109
1110
" int index = int(safePose) * u_numVerts + gl_VertexID;\n"
1111
" uvec2 data = PackedPosNor[index];\n"
0 commit comments