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
diff options
context:
space:
mode:
authorErwin Coumans <blender@erwincoumans.com>2006-04-03 02:36:15 +0400
committerErwin Coumans <blender@erwincoumans.com>2006-04-03 02:36:15 +0400
commitd537ce9b25915231c1ff1aeddfa4456b2be8bcab (patch)
treeb294041606e14a0311c3a96182848f1e9bdff261
parent6839ec66405f366d95641b1d5685369a1b19757c (diff)
commented out some asserts that don't work multiplatform
-rw-r--r--source/gameengine/Ketsji/BL_Shader.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/source/gameengine/Ketsji/BL_Shader.cpp b/source/gameengine/Ketsji/BL_Shader.cpp
index a0da2690ccc..08bec1411f5 100644
--- a/source/gameengine/Ketsji/BL_Shader.cpp
+++ b/source/gameengine/Ketsji/BL_Shader.cpp
@@ -215,10 +215,10 @@ void BL_Shader::SetUniformfv(int location, int type, float *param,int size, bool
{
#ifdef SORT_UNIFORMS
#ifndef NDEBUG
- MT_assert(type > UNI_NONE && type < UNI_MAX);
+ MT_assert(type > BL_Uniform::UNI_NONE && type < BL_Uniform::UNI_MAX);
MT_assert(location);
MT_assert(param);
- MT_assert(size > 0 && size <= UNIFORM_MAX_LEN);
+ //MT_assert(size > 0 && size <= BL_Uniform::UNIFORM_MAX_LEN);
#endif
BL_Uniform *uni= FindUniform(location);
@@ -241,10 +241,10 @@ void BL_Shader::SetUniformiv(int location, int type, int *param,int size, bool t
{
#ifdef SORT_UNIFORMS
#ifndef NDEBUG
- MT_assert(type > UNI_NONE && type < UNI_MAX);
+ //MT_assert(type > UNI_NONE && type < UNI_MAX);
MT_assert(location);
MT_assert(param);
- MT_assert(size > 0 && size <= UNIFORM_MAX_LEN);
+ //MT_assert(size > 0 && size <= UNIFORM_MAX_LEN);
#endif
BL_Uniform *uni= FindUniform(location);