From 1aad27e0116a65bcde06d54b5690644041c82716 Mon Sep 17 00:00:00 2001 From: David Hall Date: Sat, 7 Jan 2023 05:47:39 -0500 Subject: [PATCH] Fix compile error in vertex shader Fixes shader compile error when run on Windows 10 with Intel(R) HD Graphics 630 GL_VERSION: 4.4.0 - Build 27.20.100.9664 --- src/com/persesgames/jogl/explosion/explShader.vert | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/com/persesgames/jogl/explosion/explShader.vert b/src/com/persesgames/jogl/explosion/explShader.vert index d106de2..9d26295 100644 --- a/src/com/persesgames/jogl/explosion/explShader.vert +++ b/src/com/persesgames/jogl/explosion/explShader.vert @@ -16,7 +16,7 @@ varying vec4 varying_Color; void main(void) { mat4 uniform_Projection = mat4(1); - gl_PointSize = 15f; + gl_PointSize = 15.0f; gl_Position = uniform_Projection * attribute_Position; //vec4(attribute_Position.x, attribute_Position.y, 0, 1); varying_Color = attribute_Color; }