Commit 95d4a559 authored by Martin Schultz's avatar Martin Schultz

hotfix shader problem with screenquad shader on coreprofile

texture2D is deprecated
parent 7830c2e8
......@@ -7,5 +7,5 @@ out vec4 oColor;
void main()
{
oColor = texture2D(Tex, vTexCoord);
}
\ No newline at end of file
oColor = texture(Tex, vTexCoord);
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment