diff --git a/.idea/misc.xml b/.idea/misc.xml index 0b76fe5..a0bb070 100755 --- a/.idea/misc.xml +++ b/.idea/misc.xml @@ -1,5 +1,8 @@ + + diff --git a/CMakeLists.txt b/CMakeLists.txt index 15164c0..c5a2711 100755 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -287,7 +287,7 @@ add_subdirectory(libraries) find_package(GLEW REQUIRED) find_package(OpenGL REQUIRED) -find_package(SFML REQUIRED COMPONENTS graphics system) +find_package(SFML REQUIRED COMPONENTS Graphics System) find_package(Eigen3 3.4 REQUIRED NO_MODULE) find_package(TBB REQUIRED NO_MODULE) diff --git a/source/assets/data_stores/shader_source_store.ipp b/source/assets/data_stores/shader_source_store.ipp index 2aeed6d..9b19191 100644 --- a/source/assets/data_stores/shader_source_store.ipp +++ b/source/assets/data_stores/shader_source_store.ipp @@ -153,7 +153,7 @@ void assets::shader_source_store_iterator::calc_offset( while (n--) { - const auto& count = m_lengths[m_index]; + const auto& count = m_lengths[m_index] + sizeof('\0'); m_offset += step * count; m_index += step; }