mirror of
https://github.com/korenkonder/ReDIVA.git
synced 2026-10-01 11:18:23 +03:00
Adapt new findings about Texture
This commit is contained in:
@@ -39,12 +39,12 @@ int32_t RenderTexture::Bind(int32_t index) {
|
||||
|
||||
void RenderTexture::Free() {
|
||||
if (depth_texture) {
|
||||
texture_free(depth_texture);
|
||||
texture_release(depth_texture);
|
||||
depth_texture = 0;
|
||||
}
|
||||
|
||||
if (color_texture) {
|
||||
texture_free(color_texture);
|
||||
texture_release(color_texture);
|
||||
color_texture = 0;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user