mirror of
https://github.com/tildearrow/furnace.git
synced 2024-11-02 02:52:40 +00:00
Metal backend, part 14
This commit is contained in:
parent
d24c129e38
commit
e1bb42fba9
1 changed files with 1 additions and 0 deletions
|
@ -106,6 +106,7 @@ FurnaceGUITexture* FurnaceGUIRenderMetal::createTexture(bool dynamic, int width,
|
||||||
|
|
||||||
bool FurnaceGUIRenderMetal::destroyTexture(FurnaceGUITexture* which) {
|
bool FurnaceGUIRenderMetal::destroyTexture(FurnaceGUITexture* which) {
|
||||||
FurnaceMetalTexture* t=(FurnaceMetalTexture*)which;
|
FurnaceMetalTexture* t=(FurnaceMetalTexture*)which;
|
||||||
|
[t->tex release];
|
||||||
delete t;
|
delete t;
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue