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:
authorCharlie Carley <snailrose@gmail.com>2007-02-01 05:10:38 +0300
committerCharlie Carley <snailrose@gmail.com>2007-02-01 05:10:38 +0300
commit3947f9b88512f5958a5229cde58df004a719c0d9 (patch)
treee9cfcb6a78edf05b91a7a0dd95b471e6acbb721f /source/gameengine/Ketsji/BL_Texture.cpp
parent1f4af00c943ad63cb21686762f31bd522bafc229 (diff)
1). Fix for cube maps in the player.
ImBuf pointer was being overridden causing the ibuf->rect to be zero. 2). Added vertex attributes for tangents in in vertex arrays. This, probably needs the extensions enabled (glEnableVertexAttribArrayARB, glDisableVertexAttribArrayARB), but am a little weary about enabling them right now.
Diffstat (limited to 'source/gameengine/Ketsji/BL_Texture.cpp')
-rw-r--r--source/gameengine/Ketsji/BL_Texture.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/gameengine/Ketsji/BL_Texture.cpp b/source/gameengine/Ketsji/BL_Texture.cpp
index 4a5a426e9e8..dc1024c59e9 100644
--- a/source/gameengine/Ketsji/BL_Texture.cpp
+++ b/source/gameengine/Ketsji/BL_Texture.cpp
@@ -667,7 +667,7 @@ void my_envmap_split_ima(EnvMap *env, ImBuf *ibuf)
}
else {
for(part=0; part<6; part++) {
- env->cube[part]= ibuf= IMB_allocImBuf(dx, dx, 24, IB_rect, 0);
+ env->cube[part]= IMB_allocImBuf(dx, dx, 24, IB_rect, 0);
}
IMB_rectcpy(env->cube[0], ibuf,
0, 0, 0, 0, dx, dx);