mirror of
https://github.com/narzoul/DDrawCompat
synced 2024-12-30 08:55:36 +01:00
23 lines
444 B
C++
23 lines
444 B
C++
#include <Common/CompatVtable.h>
|
|
#include <DDraw/ScopedThreadLock.h>
|
|
#include <Direct3d/Direct3dLight.h>
|
|
#include <Direct3d/Visitors/Direct3dLightVtblVisitor.h>
|
|
|
|
namespace
|
|
{
|
|
constexpr void setCompatVtable(IDirect3DLightVtbl& /*vtable*/)
|
|
{
|
|
}
|
|
}
|
|
|
|
namespace Direct3d
|
|
{
|
|
namespace Direct3dLight
|
|
{
|
|
void hookVtable(const IDirect3DLightVtbl & vtable)
|
|
{
|
|
CompatVtable<IDirect3DLightVtbl>::hookVtable<DDraw::ScopedThreadLock>(vtable);
|
|
}
|
|
}
|
|
}
|