X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=tests%2Fglsl%2Ffunction_override.glsl;fp=tests%2Fglsl%2Ffunction_override.glsl;h=746ea8d39ea8852828bad3a383ecb0b07a4805b3;hb=9d9e008291a447b5d192e724e9022180503c8c3e;hp=c7e64d5233920f6a9b55b7a84b481e000016d88b;hpb=7563b92050d7c249c9ce848c1310dbfb993eadb7;p=libs%2Fgl.git diff --git a/tests/glsl/function_override.glsl b/tests/glsl/function_override.glsl index c7e64d52..746ea8d3 100644 --- a/tests/glsl/function_override.glsl +++ b/tests/glsl/function_override.glsl @@ -4,7 +4,7 @@ virtual float get_scale() { return 1.0; } -int main() +void main() { gl_Position = position*get_scale(); } @@ -15,7 +15,7 @@ float get_scale() override /* Expected output: vertex layout(location=0) in vec4 position; -int main() +void main() { gl_Position = position*2.0; }