mirror of
https://github.com/griffi-gh/hUI.git
synced 2024-11-29 02:18:40 -06:00
clarify issue
This commit is contained in:
parent
fe093c5db2
commit
2c20da0b3b
|
@ -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