nir: Store gl_shader_stage in nir_shader.
[mesa.git] / src / mesa / vbo / vbo_context.c
index fd1ffe2f76d2cd22f504c8fb25d1d55c7f209a7d..e3eb286e482ef4be323ddc33a93aad8a0894c22c 100644 (file)
@@ -37,9 +37,9 @@
 
 static GLuint check_size( const GLfloat *attr )
 {
-   if (attr[3] != 1.0) return 4;
-   if (attr[2] != 0.0) return 3;
-   if (attr[1] != 0.0) return 2;
+   if (attr[3] != 1.0F) return 4;
+   if (attr[2] != 0.0F) return 3;
+   if (attr[1] != 0.0F) return 2;
    return 1;           
 }