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:
patrickvl 2018-04-04 16:11:18 +02:00
parent 7697fa6e22
commit 2fe6e99394
1 changed files with 1 additions and 0 deletions

View File

@ -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
}