From 56a4f529fd34d95e6c5965bb5531d494b04d5545 Mon Sep 17 00:00:00 2001 From: Charlie Carley Date: Tue, 23 Jan 2007 13:25:20 +0000 Subject: Two errors caused by previous commit; One related to extension handling on Linux, the other is a fix for compiling with Irix and STL --- source/gameengine/Ketsji/BL_Texture.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source/gameengine/Ketsji') diff --git a/source/gameengine/Ketsji/BL_Texture.cpp b/source/gameengine/Ketsji/BL_Texture.cpp index 6841bb2f959..4a5a426e9e8 100644 --- a/source/gameengine/Ketsji/BL_Texture.cpp +++ b/source/gameengine/Ketsji/BL_Texture.cpp @@ -248,7 +248,7 @@ bool BL_Texture::InitCubeMap(int unit, EnvMap *cubemap) BL_TextureObject obj; obj.gl_texture = mTexture; obj.ref_buffer = cubemap->ima; - g_textureManager.insert(std::make_pair(cubemap->ima->id.name, obj)); + g_textureManager.insert(std::pair((char*)cubemap->ima->id.name, obj)); bool needs_split = false; -- cgit v1.2.3