D3D : Fixed cartoon sample, by only applying texture expansion (of height/width to 4 instead of 1) for compressed formats.
This commit is contained in:
parent
7697fa6e22
commit
2fe6e99394
|
@ -4272,6 +4272,7 @@ VOID WINAPI CreateHostResource
|
|||
// Let's try using some 16-bit format instead...
|
||||
if (X_Format == X_D3DFMT_X1R5G5B5)
|
||||
{
|
||||
// Test case : JSRF (after loading)
|
||||
CacheFormat = PCFormat; // Save this for later
|
||||
PCFormat = D3DFMT_A8R8G8B8; // ARGB
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue