Q3map2:
* code fixes * packer: !FAIL! msg for missing ingame resources, ~fail for the rest * bumped stack size to 4Mb to fix crash for huge skies, using old shaders with fairly useless q3map_surfacelight + q3map_lightsubdivide < 999 combo Radiant: binds... * F5: run first in the list or recently invoked build option * F11: fullscreen misc... * opening *.map, sent via cmd line: enabled for non win32 too * fix: textures find/replace wnd better default pos, size * fix: crash in CSG::Subtract * fix crash: main wnd maximized + 'start on primary monitor' off + monitors > 1 * correct save/restore of main wnd pos/size and maximized/fullscreened states * scale widgets consistently along with main wnd, while using regular layout
This commit is contained in:
@@ -144,6 +144,10 @@ FunctionPointer findSymbol( const char* symbol ){
|
||||
|
||||
#include <dlfcn.h>
|
||||
|
||||
#ifndef RTLD_DEEPBIND
|
||||
#define RTLD_DEEPBIND 0
|
||||
#endif
|
||||
|
||||
class DynamicLibrary
|
||||
{
|
||||
void* m_library;
|
||||
@@ -151,7 +155,7 @@ public:
|
||||
typedef int ( *FunctionPointer )();
|
||||
|
||||
DynamicLibrary( const char* filename ){
|
||||
m_library = dlopen( filename, RTLD_NOW );
|
||||
m_library = dlopen( filename, RTLD_NOW | (RTLD_DEEPBIND + 0) );
|
||||
}
|
||||
~DynamicLibrary(){
|
||||
if ( !failed() ) {
|
||||
|
||||
Reference in New Issue
Block a user