This should fix a DJUI base crash
This commit is contained in:
parent
71f1d2f64a
commit
fdaf425e84
|
@ -283,6 +283,7 @@ static void djui_base_render_border(struct DjuiBase* base) {
|
||||||
////////////
|
////////////
|
||||||
|
|
||||||
bool djui_base_render(struct DjuiBase* base) {
|
bool djui_base_render(struct DjuiBase* base) {
|
||||||
|
if (base == NULL) { return false; }
|
||||||
if (!base->visible) { return false; }
|
if (!base->visible) { return false; }
|
||||||
|
|
||||||
if (base->on_render_pre != NULL) {
|
if (base->on_render_pre != NULL) {
|
||||||
|
|
Loading…
Reference in New Issue