Refactor UI shader presets, prepare for some updates to the ImGe debugger

This commit is contained in:
Henrik Rydgård committed 2026-06-14 11:08:56 +02:00
1 parent 14dc5a5156
commit ea8a648737
10 files changed
+73 -37

No files matched your search

+2
View File
@@ -975,12 +975,14 @@ bool CreateGlobalPipelines() {
colorPipeline = g_draw->CreateGraphicsPipeline(colorDesc, "global_color");
if (!colorPipeline) {
_dbg_assert_(false);
// Something really critical is wrong, don't care much about correct releasing of the states.
return false;
}
texColorPipeline = g_draw->CreateGraphicsPipeline(texColorDesc, "global_texcolor");
if (!texColorPipeline) {
_dbg_assert_(false);
// Something really critical is wrong, don't care much about correct releasing of the states.
return false;
}