mirror of
https://github.com/griffi-gh/hUI.git
synced 2024-11-13 19:18:42 -06:00
clarify issue
This commit is contained in:
parent
42d3b52272
commit
36de134032
|
@ -10,6 +10,7 @@ uniform sampler2D tex;
|
||||||
|
|
||||||
void main() {
|
void main() {
|
||||||
//HACK: if vtx_uv is (0, 0) then the texture is not used
|
//HACK: if vtx_uv is (0, 0) then the texture is not used
|
||||||
|
//disabling this will cause blinking
|
||||||
if (vtx_uv.x == 0.0 && vtx_uv.y == 0.0) {
|
if (vtx_uv.x == 0.0 && vtx_uv.y == 0.0) {
|
||||||
out_color = vtx_color;
|
out_color = vtx_color;
|
||||||
return;
|
return;
|
||||||
|
|
Loading…
Reference in a new issue