From 402518c66c251a0b4e83bca474319cacd2ae662a Mon Sep 17 00:00:00 2001 From: Kent Mein Date: Thu, 12 Jan 2006 15:36:02 +0000 Subject: [PATCH] convert IMB_rectop to IMB_rectcpy since IMB_rectop has been retired in orange. Kent --- source/gameengine/Ketsji/BL_Texture.cpp | 24 ++++++++++++------------ 1 file 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; } }