Skip to content

Commit

Permalink
fix outdated use of texture2D function
Browse files Browse the repository at this point in the history
  • Loading branch information
Renanse committed Dec 13, 2022
1 parent 914f81f commit 552558a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ techniques:

void main()
{
FragColor = vec4(texture2D(diffuse, gl_PointCoord)) * DiffuseColor;
FragColor = vec4(texture(diffuse, gl_PointCoord)) * DiffuseColor;
}


0 comments on commit 552558a

Please sign in to comment.