mirror of
https://github.com/bloeys/nterm.git
synced 2025-12-29 14:38:19 +00:00
Fix bug with atlas texture not being updated on GPU
This commit is contained in:
@ -1,13 +1,13 @@
|
||||
#version 410
|
||||
|
||||
uniform sampler2D diffTex;
|
||||
|
||||
in vec4 vertColor;
|
||||
in vec2 vertUV0;
|
||||
in vec3 fragPos;
|
||||
|
||||
out vec4 fragColor;
|
||||
|
||||
uniform sampler2D diffTex;
|
||||
|
||||
void main()
|
||||
{
|
||||
vec4 texColor = texture(diffTex, vertUV0);
|
||||
|
||||
@ -6,7 +6,6 @@ layout(location=5) in vec4 vertColorIn;
|
||||
layout(location=6) in vec3 modelPos;
|
||||
layout(location=7) in vec3 modelScale;
|
||||
|
||||
|
||||
out vec2 vertUV0;
|
||||
out vec4 vertColor;
|
||||
out vec3 fragPos;
|
||||
|
||||
Reference in New Issue
Block a user