Fix incorrect enum being passed to compressed format check

This commit is contained in:
baldurk
2016-08-24 15:04:32 +02:00
parent e8e3d50c86
commit c3e6f58580
+1 -1
View File
@@ -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)
{