optimization

git-svn-id: http://svn2.nishi.boats/svn/milsko/trunk@309 b9cfdab3-6d41-4d17-bbe4-086880011989
This commit is contained in:
NishiOwO
2025-10-13 13:21:24 +00:00
parent 24e7ea5430
commit e98a566f3a
2 changed files with 4 additions and 0 deletions

View File

@@ -13,6 +13,8 @@ LIBS =
ifeq ($(DEBUG),1)
CFLAGS += -g
else
CFLAGS += -O2
endif
ifeq ($(VULKAN_NO_STRING_HELPER),1)

View File

@@ -102,6 +102,8 @@ MwWidget MwCreateWidget(MwClass widget_class, const char* name, MwWidget parent,
free(h);
return NULL;
}
} else {
h->lowlevel = NULL;
}
h->widget_class = widget_class;
h->pressed = 0;