diff --git a/CMakePresets.json b/CMakePresets.json index d67b075a..d368baf5 100644 --- a/CMakePresets.json +++ b/CMakePresets.json @@ -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": { diff --git a/source/light_drawer.cpp b/source/light_drawer.cpp index ad4c2cb3..9acc522e 100644 --- a/source/light_drawer.cpp +++ b/source/light_drawer.cpp @@ -134,7 +134,6 @@ void LightDrawer::clear() noexcept { void LightDrawer::createGLTexture() { glGenTextures(1, &texture); - ASSERT(texture == 0); } void LightDrawer::unloadGLTexture() {