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:
-rw-r--r--source/gameengine/Ketsji/BL_Texture.cpp24
1 files changed, 12 insertions, 12 deletions
diff --git a/source/gameengine/Ketsji/BL_Texture.cpp b/source/gameengine/Ketsji/BL_Texture.cpp
index f03bfffc8ec..0ed7a9c33cf 100644
--- a/source/gameengine/Ketsji/BL_Texture.cpp
+++ b/source/gameengine/Ketsji/BL_Texture.cpp
@@ -345,18 +345,18 @@ void my_envmap_split_ima(EnvMap *env)
ima->ok= 1;
env->cube[part]= ima;
}
- IMB_rectop(env->cube[0]->ibuf, env->ima->ibuf,
- 0, 0, 0, 0, dx, dx, IMB_rectcpy, 0);
- IMB_rectop(env->cube[1]->ibuf, env->ima->ibuf,
- 0, 0, dx, 0, dx, dx, IMB_rectcpy, 0);
- IMB_rectop(env->cube[2]->ibuf, env->ima->ibuf,
- 0, 0, 2*dx, 0, dx, dx, IMB_rectcpy, 0);
- IMB_rectop(env->cube[3]->ibuf, env->ima->ibuf,
- 0, 0, 0, dx, dx, dx, IMB_rectcpy, 0);
- IMB_rectop(env->cube[4]->ibuf, env->ima->ibuf,
- 0, 0, dx, dx, dx, dx, IMB_rectcpy, 0);
- IMB_rectop(env->cube[5]->ibuf, env->ima->ibuf,
- 0, 0, 2*dx, dx, dx, dx, IMB_rectcpy, 0);
+ IMB_rectcpy(env->cube[0]->ibuf, env->ima->ibuf,
+ 0, 0, 0, 0, dx, dx);
+ IMB_rectcpy(env->cube[1]->ibuf, env->ima->ibuf,
+ 0, 0, dx, 0, dx, dx);
+ IMB_rectcpy(env->cube[2]->ibuf, env->ima->ibuf,
+ 0, 0, 2*dx, 0, dx, dx);
+ IMB_rectcpy(env->cube[3]->ibuf, env->ima->ibuf,
+ 0, 0, 0, dx, dx, dx);
+ IMB_rectcpy(env->cube[4]->ibuf, env->ima->ibuf,
+ 0, 0, dx, dx, dx, dx);
+ IMB_rectcpy(env->cube[5]->ibuf, env->ima->ibuf,
+ 0, 0, 2*dx, dx, dx, dx);
env->ok= 2;
}
}