DXT1 fix
This commit is contained in:
parent
7165545750
commit
eee551912d
|
@ -63,10 +63,10 @@ typedef signed long sint32;
|
|||
//#define _DEBUG_ALLOC
|
||||
|
||||
// define this to trace intercepted function calls
|
||||
#define _DEBUG_TRACE
|
||||
//#define _DEBUG_TRACE
|
||||
|
||||
// define this to trace warnings
|
||||
#define _DEBUG_WARNINGS
|
||||
//#define _DEBUG_WARNINGS
|
||||
|
||||
// version information
|
||||
#ifndef _DEBUG_TRACE
|
||||
|
|
|
@ -3735,6 +3735,8 @@ HRESULT WINAPI XTL::EmuIDirect3DResource8_Register
|
|||
|
||||
if(X_Format == 0x0C) // D3DFMT_DXT1 : 64bits per block/per 16 texels
|
||||
dwCompressedSize /= 2;
|
||||
|
||||
dwBPP = 1;
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue