optimization
git-svn-id: http://svn2.nishi.boats/svn/milsko/trunk@309 b9cfdab3-6d41-4d17-bbe4-086880011989
This commit is contained in:
parent
24e7ea5430
commit
e98a566f3a
2 changed files with 4 additions and 0 deletions
|
|
@ -13,6 +13,8 @@ LIBS =
|
||||||
|
|
||||||
ifeq ($(DEBUG),1)
|
ifeq ($(DEBUG),1)
|
||||||
CFLAGS += -g
|
CFLAGS += -g
|
||||||
|
else
|
||||||
|
CFLAGS += -O2
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifeq ($(VULKAN_NO_STRING_HELPER),1)
|
ifeq ($(VULKAN_NO_STRING_HELPER),1)
|
||||||
|
|
|
||||||
|
|
@ -102,6 +102,8 @@ MwWidget MwCreateWidget(MwClass widget_class, const char* name, MwWidget parent,
|
||||||
free(h);
|
free(h);
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
} else {
|
||||||
|
h->lowlevel = NULL;
|
||||||
}
|
}
|
||||||
h->widget_class = widget_class;
|
h->widget_class = widget_class;
|
||||||
h->pressed = 0;
|
h->pressed = 0;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue