mirror of
https://github.com/GraphiteEditor/Graphite.git
synced 2026-09-30 03:58:11 +08:00
Switch shader texture usage from sampler2D to texture2D plus sampler (fixes #1)
This commit is contained in:
+1
-1
@@ -5,6 +5,6 @@ layout(location=0) in vec2 a_position;
|
||||
layout(location=0) out vec2 v_uv;
|
||||
|
||||
void main() {
|
||||
v_uv = a_position;
|
||||
v_uv = (a_position + 1) / 2;
|
||||
gl_Position = vec4(a_position, 0.0, 1.0);
|
||||
}
|
||||
Reference in New Issue
Block a user