diff --git a/Inc/Effects.h b/Inc/Effects.h index c769abee..49929e62 100644 --- a/Inc/Effects.h +++ b/Inc/Effects.h @@ -798,7 +798,7 @@ namespace DirectX DIRECTX_TOOLKIT_API void XM_CALLCONV SetColorAndAlpha(FXMVECTOR value); // Light settings. - void XM_CALLCONV SetLightDirection(int whichLight, FXMVECTOR value) override; + DIRECTX_TOOLKIT_API void XM_CALLCONV SetLightDirection(int whichLight, FXMVECTOR value) override; DIRECTX_TOOLKIT_API void __cdecl EnableDefaultLighting() override; static constexpr int MaxDirectionalLights = 1;