Skip to content

Commit

Permalink
fix: crash with debug build (wrong assert)
Browse files Browse the repository at this point in the history
  • Loading branch information
dudantas committed Nov 21, 2024
1 parent 891ea35 commit d01adc0
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",
"BUILD_STATIC_LIBRARY": "ON"
},
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 d01adc0

Please sign in to comment.