mirror of
https://github.com/ioquake/jedi-academy.git
synced 2024-11-10 07:11:44 +00:00
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:
parent
ef39017afd
commit
d6bc68d632
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
vec3_t lineDir, cross, viewDir;
|
||||||
static vec3_t lastEnd[2];
|
static vec3_t lastEnd[2];
|
||||||
|
|
Loading…
Reference in a new issue