swap buffers in draw handler instead

This commit is contained in:
IoIxD 2025-12-05 17:16:08 -07:00
commit 39533b3fec
6 changed files with 45 additions and 32 deletions

View file

@ -5,10 +5,10 @@ int main() {
MwWidget window;
MwLibraryInit();
window = MwVaCreateWidget(MwWindowClass, "test", NULL, MwDEFAULT, MwDEFAULT, 8 + 16 + 8 + 16 * 10 + 8, 8 + 16 + 8 + 16 + 8,
MwNtitle, "checkbox",
NULL);
MwNtitle, "checkbox",
NULL);
MwVaCreateWidget(MwCheckBoxClass, "cb1", window, 8, 8, 16, 16,
NULL);