Skip to content

Commit

Permalink
silly error resolved
Browse files Browse the repository at this point in the history
  • Loading branch information
Tolisz committed Jan 3, 2025
1 parent 50cc6d4 commit 213e235
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ endif()
if (MSVC)
target_compile_options(${PR3_EXECUTABLE_NAME} PRIVATE /W4)

if (NOT PR2_SHOW_DEBUG_CONSOLE)
if (NOT PR3_SHOW_DEBUG_CONSOLE)

message("-- RP3: PR3_SHOW_DEBUG_CONSOLE option is OFF")
set_target_properties(${PR3_EXECUTABLE_NAME} PROPERTIES
Expand Down
2 changes: 1 addition & 1 deletion source/jelly_Renderer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -292,7 +292,7 @@ void jelly_Renderer::DrawModel()
{
m_s_deformedModel.Use();

m_s_bezierPatches.set1i("numberOfLights", m_lights.size());
m_s_deformedModel.set1i("numberOfLights", m_lights.size());

const material& mat = m_materials["model"];
m_s_deformedModel.set3fv("material.ka", mat.ka);
Expand Down

0 comments on commit 213e235

Please sign in to comment.