Mercurial > repos > blastem
comparison nuklear_ui/blastem_nuklear.c @ 2484:ccee8dccd9cc
Add support for rendering debug windows with OpenGL in perparation for allowing Nuklear UI in them
author | Michael Pavone <pavone@retrodev.com> |
---|---|
date | Sun, 14 Apr 2024 11:40:32 -0700 |
parents | 64cf80e683aa |
children |
comparison
equal
deleted
inserted
replaced
2483:48ab1e3e5df5 | 2484:ccee8dccd9cc |
---|---|
1877 | 1877 |
1878 for (uint32_t i = 0; i < num_entries; i++) { | 1878 for (uint32_t i = 0; i < num_entries; i++) { |
1879 if (entries[i].is_dir) { | 1879 if (entries[i].is_dir) { |
1880 continue; | 1880 continue; |
1881 } | 1881 } |
1882 if (startswith(entries[i].name, "extra_window.")) { | |
1883 //skip shader used for debug windows | |
1884 continue; | |
1885 } | |
1882 char *no_ext = basename_no_extension(entries[i].name); | 1886 char *no_ext = basename_no_extension(entries[i].name); |
1883 uint32_t len = strlen(no_ext); | 1887 uint32_t len = strlen(no_ext); |
1884 if (no_ext[len-1] == 'f' && no_ext[len-2] == '.') { | 1888 if (no_ext[len-1] == 'f' && no_ext[len-2] == '.') { |
1885 uint8_t dupe = 0;; | 1889 uint8_t dupe = 0;; |
1886 for (uint32_t j = 0; j < starting; j++) { | 1890 for (uint32_t j = 0; j < starting; j++) { |