remove check for alpha == zero because that will almost never happen

Wed, 10 Apr 2024 19:29:09 +0200

author
Mike Becker <universe@uap-core.de>
date
Wed, 10 Apr 2024 19:29:09 +0200
changeset 54
cb94d983e3dd
parent 53
19faf91d43d7
child 55
6b61b4899587

remove check for alpha == zero because that will almost never happen

src/text.c file | annotate | diff | comparison | revisions
--- a/src/text.c	Wed Apr 10 19:24:39 2024 +0200
+++ b/src/text.c	Wed Apr 10 19:29:09 2024 +0200
@@ -33,10 +33,6 @@
 #include <GL/glew.h>
 
 static void asc_text_draw(AscText const *node) {
-    if (node->color.alpha == 0 || node->hidden) {
-        return;
-    }
-
     // Obtain shader
     AscShaderSprite *shader = &asc_context.active_window->glctx.shader.sprite;
 

mercurial