# HG changeset patch # User Kabir Kwatra # Date 1662198586 25200 # Sat Sep 03 02:49:46 2022 -0700 # Node ID 9ba3806561312d83ed66dc8583c36d70fda8cd7a # Parent f89e60b7941fb60f1069ed51af9c5bb4917aab35 fix(paper): remove type suffix on constant literal in vertex data OpenGL does not allow type suffix 'f' on constant literals in versions below 120 Some compilers like nvidia's appear to be strict about this. diff --git a/src/paper.c b/src/paper.c --- a/src/paper.c +++ b/src/paper.c @@ -329,7 +329,7 @@ "void main() {" " texCoords = texIn;" - " gl_Position = vec4(datIn, 0.0f, 1.0f);" + " gl_Position = vec4(datIn, 0.0, 1.0);" "}" };