Last unstaged changes

This commit is contained in:
ZY4N
2025-05-04 19:51:14 +02:00
parent 835c645da4
commit 31d6c0900a
3 changed files with 5 additions and 2 deletions

3
.idea/misc.xml generated
View File

@@ -1,5 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<project version="4"> <project version="4">
<component name="BackendCodeEditorMiscSettings">
<option name="/Default/Housekeeping/GlobalSettingsUpgraded/IsUpgraded/@EntryValue" value="true" type="bool" />
</component>
<component name="CMakePythonSetting"> <component name="CMakePythonSetting">
<option name="pythonIntegrationState" value="YES" /> <option name="pythonIntegrationState" value="YES" />
</component> </component>

View File

@@ -287,7 +287,7 @@ add_subdirectory(libraries)
find_package(GLEW REQUIRED) find_package(GLEW REQUIRED)
find_package(OpenGL 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(Eigen3 3.4 REQUIRED NO_MODULE)
find_package(TBB REQUIRED NO_MODULE) find_package(TBB REQUIRED NO_MODULE)

View File

@@ -153,7 +153,7 @@ void assets::shader_source_store_iterator<Char>::calc_offset(
while (n--) while (n--)
{ {
const auto& count = m_lengths[m_index]; const auto& count = m_lengths[m_index] + sizeof('\0');
m_offset += step * count; m_offset += step * count;
m_index += step; m_index += step;
} }