forked from bartvdbraak/blender
Two errors caused by previous commit;
One related to extension handling on Linux, the other is a fix for compiling with Irix and STL
This commit is contained in:
parent
39d1d30350
commit
56a4f529fd
@ -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*, BL_TextureObject>((char*)cubemap->ima->id.name, obj));
|
||||
|
||||
|
||||
bool needs_split = false;
|
||||
|
@ -191,7 +191,7 @@ static void bglInitEntryPoints (void)
|
||||
{
|
||||
if (!libGL)
|
||||
{
|
||||
libGL = dlopen("libGL.so", RTLD_GLOBAL);
|
||||
libGL = dlopen("libGL.so", RTLD_LAZY|RTLD_GLOBAL);
|
||||
if (libGL)
|
||||
bglGetProcAddress = (PFNBGLXGETPROCADDRESSARBPROC) (dlsym(libGL, "glXGetProcAddressARB"));
|
||||
else
|
||||
|
Loading…
Reference in New Issue
Block a user