yquake2_5.21~dfsg1-1_amd64.changes ACCEPTED into unstable

Simon McVittie smcv at debian.org
Sun Jan 19 14:15:46 UTC 2014


On 19/01/14 13:58, Simon McVittie wrote:
> I can't remember why I adapted Sys_GetProcAddress() to deal with "handle
> == NULL" like that, rather than relying on having defined ALSYMBOL(.,
> foo) to just be foo. Perhaps it's left over from an earlier version of
> the patch that didn't redefine ALSYMBOL.

Ah, I think I might know why I did that - it's left over from the
earlier patch for 5.11, which needed to do the same for libGL.

GetProcAddressGL() needed to use similar functionality to find libGL
features at runtime, because there are GL extensions that aren't in
every implementation; but yquake2 now uses SDL_GL_GetProcAddress() for
that, so it doesn't need to do the dlsym() itself. So the
Sys_GetProcAddress() patch band can probably be removed.

    S




More information about the Pkg-games-devel mailing list