Skip to content

Commit

Permalink
Prepare shader system
Browse files Browse the repository at this point in the history
  • Loading branch information
dvsku committed May 15, 2024
1 parent 7fc96d8 commit a04188a
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion source/devue_app/src/dv_app.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,15 @@ bool dv_app::prepare() {
// Build fonts
io.Fonts->Build();

// Create shaders
// Compile shaders
try {
m_systems.shader.prepare();
}
catch (const std::exception& e) {
DV_LOG_ERRO("", "Failed to prepare shader system. | {}", e.what());
return false;
}

try {
m_systems.rendering.prepare();
}
Expand Down

0 comments on commit a04188a

Please sign in to comment.