]> git.tdb.fi Git - libs/gl.git/blobdiff - tests/glsl/function_override.glsl
Fix GLSL test cases so they pass the basic tests
[libs/gl.git] / tests / glsl / function_override.glsl
index c7e64d5233920f6a9b55b7a84b481e000016d88b..0a390952094fe1ad2ef11269da66596d219655f3 100644 (file)
@@ -4,7 +4,7 @@ virtual float get_scale()
 {
        return 1.0;
 }
-int main()
+void main()
 {
        gl_Position = position*get_scale();
 }
@@ -13,9 +13,11 @@ float get_scale() override
        return 2.0;
 }
 
+// Target API: Vulkan
+
 /* Expected output: vertex
 layout(location=0) in vec4 position;
-int main()
+void main()
 {
        gl_Position = position*2.0;
 }