asan: free texture held by PCDX11LightManager

This commit is contained in:
Adam Jensen 2024-07-12 12:14:53 +01:00
parent 41842c1e7f
commit c274bf8599
2 changed files with 5 additions and 0 deletions

View File

@ -28,6 +28,10 @@ PCDX11LightManager::PCDX11LightManager(CommonRenderDevice *commonRenderDevice) :
attenuationSampler430 = new PCDX11BitmapTexture(renderDevice, 0, 0, 256, kTextureClassUnknown);
}
PCDX11LightManager::~PCDX11LightManager() {
delete attenuationSampler430;
}
LightManagerSubB *PCDX11LightManager::allocateSubB() {
// TODO
return nullptr;

View File

@ -153,6 +153,7 @@ class PCDX11LightManager :
public:
PCDX11LightManager(CommonRenderDevice *renderDevice);
~PCDX11LightManager();
LightManagerSubB *allocateSubB();
void fillLightBuffer(LightReceiverData *receiverData);