texture2D -> texture

Intel driver threw a fit about it
This commit is contained in:
Arisotura 2020-05-27 19:18:45 +02:00
parent 4135ea374b
commit 256360aebb
1 changed files with 1 additions and 1 deletions

View File

@ -55,7 +55,7 @@ out vec4 oColor;
void main()
{
vec4 pixel = texture2D(ScreenTex, fTexcoord);
vec4 pixel = texture(ScreenTex, fTexcoord);
oColor = vec4(pixel.bgr, 1.0);
}