Sprite uses unique vao for rendering
Remove notation of "m" in member variables.
This commit is contained in:
@@ -3,9 +3,9 @@ in vec2 texCoord;
|
||||
|
||||
out vec4 color;
|
||||
|
||||
uniform sampler2D texture;
|
||||
uniform sampler2D tex;
|
||||
|
||||
void main()
|
||||
{
|
||||
color = texture(texture, texCoord);
|
||||
color = texture(tex, texCoord);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user