mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-06 01:50:38 +00:00
Fix incorrect enum being passed to compressed format check
This commit is contained in:
@@ -2908,7 +2908,7 @@ void GLReplay::SetProxyTextureData(ResourceId texid, uint32_t arrayIdx, uint32_t
|
||||
GLenum fmt = texdetails.internalFormat;
|
||||
GLenum target = texdetails.curType;
|
||||
|
||||
if(IsCompressedFormat(target))
|
||||
if(IsCompressedFormat(fmt))
|
||||
{
|
||||
if(target == eGL_TEXTURE_1D)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user