mirror of
https://github.com/raysan5/raylib.git
synced 2026-02-02 20:29:18 -05:00
Replaced deprecated texture2D() function by texture()
This commit is contained in:
@ -11,7 +11,7 @@ uniform vec4 fragTintColor;
|
||||
|
||||
void main()
|
||||
{
|
||||
vec4 texelColor = texture2D(texture0, fragTexCoord);
|
||||
vec4 texelColor = texture(texture0, fragTexCoord);
|
||||
|
||||
// NOTE: Implement here your fragment shader code
|
||||
|
||||
|
||||
Reference in New Issue
Block a user