Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/intern
diff options
context:
space:
mode:
authorTon Roosendaal <ton@blender.org>2006-11-25 19:35:56 +0300
committerTon Roosendaal <ton@blender.org>2006-11-25 19:35:56 +0300
commit627261da50cf268239b113c373e09902945b4b28 (patch)
tree5854da5f2f4924a80d11e70779296c768665d468 /intern
parent48a640f375f95e0d6d67a50ad9464b8a624c78ad (diff)
Patch by VladimĂ­r Marek (neuron), part of bugfix #5298
Solaris CC compiler choked on wrong .h prototypes for functions using 'const' arguments.
Diffstat (limited to 'intern')
-rw-r--r--intern/ghost/intern/GHOST_System.cpp4
-rw-r--r--intern/iksolver/intern/IK_QJacobianSolver.cpp4
2 files changed, 4 insertions, 4 deletions
diff --git a/intern/ghost/intern/GHOST_System.cpp b/intern/ghost/intern/GHOST_System.cpp
index d04f13a13a4..d91658787b9 100644
--- a/intern/ghost/intern/GHOST_System.cpp
+++ b/intern/ghost/intern/GHOST_System.cpp
@@ -138,7 +138,7 @@ bool GHOST_System::validWindow(GHOST_IWindow* window)
GHOST_TSuccess GHOST_System::beginFullScreen(const GHOST_DisplaySetting& setting, GHOST_IWindow** window,
- bool stereoVisual)
+ const bool stereoVisual)
{
GHOST_TSuccess success = GHOST_kFailure;
GHOST_ASSERT(m_windowManager, "GHOST_System::beginFullScreen(): invalid window manager")
@@ -310,7 +310,7 @@ GHOST_TSuccess GHOST_System::exit()
}
-GHOST_TSuccess GHOST_System::createFullScreenWindow(GHOST_Window** window, bool stereoVisual)
+GHOST_TSuccess GHOST_System::createFullScreenWindow(GHOST_Window** window, const bool stereoVisual)
{
GHOST_TSuccess success;
GHOST_ASSERT(m_displayManager, "GHOST_System::createFullScreenWindow(): invalid display manager")
diff --git a/intern/iksolver/intern/IK_QJacobianSolver.cpp b/intern/iksolver/intern/IK_QJacobianSolver.cpp
index 8ae836a7eb8..7cfdcccc2ad 100644
--- a/intern/iksolver/intern/IK_QJacobianSolver.cpp
+++ b/intern/iksolver/intern/IK_QJacobianSolver.cpp
@@ -178,8 +178,8 @@ bool IK_QJacobianSolver::UpdateAngles(MT_Scalar& norm)
bool IK_QJacobianSolver::Solve(
IK_QSegment *root,
std::list<IK_QTask*> tasks,
- MT_Scalar,
- int max_iterations
+ const MT_Scalar,
+ const int max_iterations
)
{
//double dt = analyze_time();