workaround glibc ld.so bug #12561

from Jochen Leopold:

Fixed dclose problems (stuck in level 4)
* UNIQUE symbols in jk2gamex86.so don't allow to unload the library on map changes!
** so all global variables are not reseted -> this causes many bugs (stuck on start of level 4 for example)
* removed one "inline" attribute which fixes this bug
** there is just a GLIBCXX unique symbol left: readelf -Ws ./jk2gamex86.so | grep UNIQUE
This commit is contained in:
Jonathan Gray 2013-05-12 12:10:13 +10:00
parent ef39017afd
commit d6bc68d632
1 changed files with 1 additions and 1 deletions

View File

@ -2082,7 +2082,7 @@ bool CBezier::Update( void )
}
//----------------------------
inline void CBezier::DrawSegment( vec3_t start, vec3_t end, float texcoord1, float texcoord2 )
void CBezier::DrawSegment( vec3_t start, vec3_t end, float texcoord1, float texcoord2 )
{
vec3_t lineDir, cross, viewDir;
static vec3_t lastEnd[2];