mirror of
https://github.com/rrika/cdcEngineDXHR.git
synced 2025-02-21 06:10:49 +00:00
asan: free texture held by PCDX11LightManager
This commit is contained in:
parent
41842c1e7f
commit
c274bf8599
@ -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;
|
||||
|
@ -153,6 +153,7 @@ class PCDX11LightManager :
|
||||
|
||||
public:
|
||||
PCDX11LightManager(CommonRenderDevice *renderDevice);
|
||||
~PCDX11LightManager();
|
||||
|
||||
LightManagerSubB *allocateSubB();
|
||||
void fillLightBuffer(LightReceiverData *receiverData);
|
||||
|
Loading…
x
Reference in New Issue
Block a user