Mercurial > repos > blastem
diff 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 | 90a40be940f7 |
line wrap: on
line diff
--- a/nuklear_ui/blastem_nuklear.c Sun Mar 31 10:21:34 2024 -0700 +++ b/nuklear_ui/blastem_nuklear.c Sun Apr 14 11:40:32 2024 -0700 @@ -1879,6 +1879,10 @@ if (entries[i].is_dir) { continue; } + if (startswith(entries[i].name, "extra_window.")) { + //skip shader used for debug windows + continue; + } char *no_ext = basename_no_extension(entries[i].name); uint32_t len = strlen(no_ext); if (no_ext[len-1] == 'f' && no_ext[len-2] == '.') {