mirror of
https://github.com/Relintai/sdl2_frt.git
synced 2024-12-25 09:17:12 +01:00
Updated library name in header file.
This commit is contained in:
parent
cfcec57f42
commit
9f8c1d779a
@ -74,15 +74,15 @@ typedef int (SDLCALL * SDL_ThreadFunction) (void *data);
|
|||||||
*
|
*
|
||||||
* We compile SDL into a DLL. This means, that it's the DLL which
|
* We compile SDL into a DLL. This means, that it's the DLL which
|
||||||
* creates a new thread for the calling process with the SDL_CreateThread()
|
* creates a new thread for the calling process with the SDL_CreateThread()
|
||||||
* API. There is a problem with this, that only the RTL of the SDL.DLL will
|
* API. There is a problem with this, that only the RTL of the SDL2.DLL will
|
||||||
* be initialized for those threads, and not the RTL of the calling
|
* be initialized for those threads, and not the RTL of the calling
|
||||||
* application!
|
* application!
|
||||||
*
|
*
|
||||||
* To solve this, we make a little hack here.
|
* To solve this, we make a little hack here.
|
||||||
*
|
*
|
||||||
* We'll always use the caller's _beginthread() and _endthread() APIs to
|
* We'll always use the caller's _beginthread() and _endthread() APIs to
|
||||||
* start a new thread. This way, if it's the SDL.DLL which uses this API,
|
* start a new thread. This way, if it's the SDL2.DLL which uses this API,
|
||||||
* then the RTL of SDL.DLL will be used to create the new thread, and if it's
|
* then the RTL of SDL2.DLL will be used to create the new thread, and if it's
|
||||||
* the application, then the RTL of the application will be used.
|
* the application, then the RTL of the application will be used.
|
||||||
*
|
*
|
||||||
* So, in short:
|
* So, in short:
|
||||||
|
Loading…
Reference in New Issue
Block a user