mirror of
https://github.com/korenkonder/ReDIVA.git
synced 2026-10-03 20:28:10 +03:00
Some additional fixes
This commit is contained in:
@@ -109,6 +109,7 @@ texture* texture_copy(texture_id id, texture* org_tex) {
|
||||
void* data = force_malloc(texture_get_size_mip_level(org_tex, i));
|
||||
if (!data)
|
||||
break;
|
||||
|
||||
if (org_tex->flags & TEXTURE_BLOCK_COMPRESSION) {
|
||||
glBindTexture(org_tex->target, org_tex->tex);
|
||||
glGetCompressedTexImage(org_tex->target, i, data);
|
||||
|
||||
Reference in New Issue
Block a user