Fixed pad shader/disconnect bugs

This commit is contained in:
Anuken
2019-02-21 14:08:42 -05:00
parent 5b7b50f555
commit 9c240850b8
11 changed files with 30 additions and 15 deletions
+1 -1
View File
@@ -32,7 +32,7 @@ void main() {
vec2 coord = t / v;
vec4 c = texture2D(u_texture, t);
if(cont(t, v) ){
if(cont(t, v)){
gl_FragColor = u_color;
}else{
gl_FragColor = vec4(0.0);