[Scummvm-git-logs] scummvm master -> 4af8553f4e06c8e1c528e8b58b8f43520a4b0e7a

aquadran noreply at scummvm.org
Mon Jun 16 18:30:35 UTC 2025


This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://api.github.com/repos/scummvm/scummvm .

Summary:
4af8553f4e WINTERMUTE: Fix shader compilation with OpenGL ES 2


Commit: 4af8553f4e06c8e1c528e8b58b8f43520a4b0e7a
    https://github.com/scummvm/scummvm/commit/4af8553f4e06c8e1c528e8b58b8f43520a4b0e7a
Author: Cameron Cawley (ccawley2011 at gmail.com)
Date: 2025-06-16T20:30:33+02:00

Commit Message:
WINTERMUTE: Fix shader compilation with OpenGL ES 2

Changed paths:
    engines/wintermute/base/gfx/opengl/shaders/wme_postfilter.fragment


diff --git a/engines/wintermute/base/gfx/opengl/shaders/wme_postfilter.fragment b/engines/wintermute/base/gfx/opengl/shaders/wme_postfilter.fragment
index 0bf4ddfe6bd..ffdd29ea0ab 100644
--- a/engines/wintermute/base/gfx/opengl/shaders/wme_postfilter.fragment
+++ b/engines/wintermute/base/gfx/opengl/shaders/wme_postfilter.fragment
@@ -16,6 +16,6 @@ void main() {
 		outColor.b = dot(vec3(r, g, b), vec3(0.272, 0.534, 0.131));
 	} else {
 		float gray = dot(color.rgb, vec3(0.299, 0.587, 0.114));
-		outColor = vec4(vec3(gray), 1.0f);
+		outColor = vec4(vec3(gray), 1.0);
 	}
 }




More information about the Scummvm-git-logs mailing list