Skip to content

Commit

Permalink
fix: crash with debug build (wrong assert) (#128)
Browse files Browse the repository at this point in the history
  • Loading branch information
dudantas authored Nov 22, 2024
1 parent 0257afe commit 0f79bc2
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion CMakePresets.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
"type": "FILEPATH"
},
"VCPKG_TARGET_TRIPLET": "x64-windows-static",
"CMAKE_BUILD_TYPE": "Release",
"CMAKE_BUILD_TYPE": "RelWithDebInfo",
"OPTIONS_ENABLE_SCCACHE": "ON"
},
"architecture": {
Expand Down
1 change: 0 additions & 1 deletion source/light_drawer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,6 @@ void LightDrawer::clear() noexcept {

void LightDrawer::createGLTexture() {
glGenTextures(1, &texture);
ASSERT(texture == 0);
}

void LightDrawer::unloadGLTexture() {
Expand Down

0 comments on commit 0f79bc2

Please sign in to comment.