mirror of
https://github.com/hrydgard/ppsspp.git
synced 2025-04-02 11:01:50 -04:00
[spline/bezier]Handle deleting sampler of TessellationDataTransferVulkan.
This commit is contained in:
parent
f0606bd1c9
commit
6022b40346
1 changed files with 2 additions and 0 deletions
|
@ -259,6 +259,8 @@ private:
|
|||
~TessellationDataTransferVulkan() {
|
||||
for (int i = 0; i < 3; i++)
|
||||
delete data_tex[i];
|
||||
|
||||
vulkan->Delete().QueueDeleteSampler(sampler);
|
||||
}
|
||||
void SendDataToShader(const float *pos, const float *tex, const float *col, int size, bool hasColor, bool hasTexCoords) override;
|
||||
VulkanTexture *GetTexture(int i) const { return data_tex[i]; }
|
||||
|
|
Loading…
Add table
Reference in a new issue