Skip to content

Commit

Permalink
Fix unittest
Browse files Browse the repository at this point in the history
  • Loading branch information
jhasse committed Feb 9, 2024
1 parent 8f99617 commit 6bf31de
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/App.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ void App::setPixelArt(const bool pixelArt) {

void App::registerShaderProgram(ShaderProgram* shaderProgram) {
if (!impl) { // unit tests
init({});
new Finally(init({})); // leak
}
impl->shaderPrograms.insert(shaderProgram);
}
Expand Down

0 comments on commit 6bf31de

Please sign in to comment.