mirror of
https://github.com/raysan5/raylib.git
synced 2026-02-01 03:39:18 -05:00
Corrected function name
texture2D() is deprecated on GLSL 330
This commit is contained in:
@ -40,7 +40,7 @@ void main (void)
|
||||
}
|
||||
|
||||
tc += center;
|
||||
vec3 color = texture2D(texture0, tc/texSize).rgb;
|
||||
vec3 color = texture(texture0, tc/texSize).rgb;
|
||||
|
||||
finalColor = vec4(color, 1.0);;
|
||||
}
|
||||
Reference in New Issue
Block a user