From dc6d89a170498f964ac8e103a66c3b4d9ff7f034 Mon Sep 17 00:00:00 2001 From: cutealien Date: Sun, 13 Aug 2023 15:25:54 +0000 Subject: [PATCH] Fix compiling example 21 Somehow was broken since fixing the spelling of tessellation and never noticed git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@6523 dfc29bdd-3216-0410-991c-e03cc46cb475 --- examples/21.Quake3Explorer/main.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/21.Quake3Explorer/main.cpp b/examples/21.Quake3Explorer/main.cpp index 6322991b..e4a9c646 100644 --- a/examples/21.Quake3Explorer/main.cpp +++ b/examples/21.Quake3Explorer/main.cpp @@ -734,7 +734,7 @@ void CQuake3EventHandler::CreateGUI() gui.Tesselation->setMax ( 12 ); gui.Tesselation->setSmallStep ( 1 ); gui.Tesselation->setLargeStep ( 1 ); - gui.Tesselation->setPos ( Game->loadParam.patchTesselation ); + gui.Tesselation->setPos ( Game->loadParam.patchTessellation ); gui.Tesselation->setToolTipText ( L"How smooth should curved surfaces be rendered" ); gui.Collision = env->addCheckBox ( true, rect( dim.Width - 400, 150, dim.Width - 300, 166 ), gui.Window,-1, L"Collision" ); @@ -1381,7 +1381,7 @@ bool CQuake3EventHandler::OnEvent(const SEvent& eve) else if ( eve.GUIEvent.Caller == gui.Tesselation && eve.GUIEvent.EventType == gui::EGET_SCROLL_BAR_CHANGED ) { - Game->loadParam.patchTesselation = gui.Tesselation->getPos (); + Game->loadParam.patchTessellation = gui.Tesselation->getPos (); } else if ( eve.GUIEvent.Caller == gui.Gamma && eve.GUIEvent.EventType == gui::EGET_SCROLL_BAR_CHANGED )