Files
gMod/OTM_DX9/OTM_DX9_dll.def
T
code@koerner-de.net b24123ddca Bugs fix:
- OTM_FileHandler::Remove and OTM_TextureHandler::Remove set now the correct Reference
- SingleTexture is deleted, if device is released the last time
- if original texture is released the last time and it is linked with SingleTexture, SingleTexture is not released any more
- texture->AddRef is now directed to the original texture (if texture was switched)
- texture->Release() is now directed to the original texture (if texture is switched)

improvement:
- texture->Release(): if a texture is released which was switched also the fake texture is released, for that no OTM_TextureHandler FakeTextures is needed any more.
- you can run the makefile with NO_INJECTION=1 and a dll without hook is compiled, copy this dll to the game directory, if you don't like to or even can't use the dll-injection over hooking.
2011-09-12 19:14:20 +00:00

5 lines
86 B
Modula-2

LIBRARY "OTM_d3d9"
EXPORTS
MyDirect3DCreate9 @1
InstallHook @2
RemoveHook @3