/* Unload the old driver and reset the pointers */
X11_GL_UnloadLibrary(this);–
Daniel Vogel My opinions may have changed,
666 @ http://grafzahl.de but not the fact that I am right
am I missing something or shouldn’t the below two blocks be swapped?
Nope.
The code only unloads the previous library if opening the new one succeeds.
Ah, I thought the purpose of unloading would be that I could change the
lib at runtime of the app and then have an app that forces a reload.
Well, this isn’t possible right now as the dlopen increases the
reference count and dlclose decrease it again then - nothing changes ;)–
Daniel Vogel My opinions may have changed,
666 @ http://grafzahl.de but not the fact that I am right
am I missing something or shouldn’t the below two blocks be swapped?
Nope.
The code only unloads the previous library if opening the new one succeeds.
Ah, I thought the purpose of unloading would be that I could change the
lib at runtime of the app and then have an app that forces a reload.
Well, this isn’t possible right now as the dlopen increases the
reference count and dlclose decrease it again then - nothing changes
Well, okay, it is possible if I force an unload before… think, Daniel,
think ;)–
Daniel Vogel My opinions may have changed,
666 @ http://grafzahl.de but not the fact that I am right