Skip to content

Commit

Permalink
preparing for geogram 1.8.9-rc, deactivated shader dump for emscripten
Browse files Browse the repository at this point in the history
  • Loading branch information
BrunoLevy committed Feb 3, 2024
1 parent 7ac37ce commit 65dbdc6
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 2 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@ cmake_minimum_required(VERSION 3.0)
cmake_policy(SET CMP0048 NEW)

##############################################################################
set(VORPALINE_VERSION_RC FALSE)
set(VORPALINE_VERSION_RC TRUE)
set(VORPALINE_VERSION_MAJOR 1)
set(VORPALINE_VERSION_MINOR 8)
set(VORPALINE_VERSION_PATCH 8)
set(VORPALINE_VERSION_PATCH 9)

set(VORPALINE_VERSION_PLAIN ${VORPALINE_VERSION_MAJOR}.${VORPALINE_VERSION_MINOR}.${VORPALINE_VERSION_PATCH})
if(VORPALINE_VERSION_RC)
Expand Down
2 changes: 2 additions & 0 deletions src/lib/geogram_gfx/basic/GLSL.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1075,6 +1075,7 @@ namespace GEO {
sources_texts[i] = sources[i].text();
}

#ifndef GEO_OS_EMSCRIPTEN
// If GL_debug is set, save shaders to file
// It makes it easier testing and debugging
// them with glslangValidator
Expand Down Expand Up @@ -1112,6 +1113,7 @@ namespace GEO {
out << sources_texts[i];
}
}
#endif

return compile_shader(
target, &sources_texts[0], index_t(sources_texts.size())
Expand Down

0 comments on commit 65dbdc6

Please sign in to comment.