fix: mismatch in textureFormats definition, textures were created as DXGI_FORMAT_B8G8R8A8_UNORM but the game uses DXGI_FORMAT_R8G8B8A8_UNORM
This commit is contained in:
@@ -30,7 +30,7 @@ unsigned char* dataStart;
|
||||
unsigned char *dataCurr;
|
||||
unsigned char *dataEnd;
|
||||
|
||||
DXGI_FORMAT Renderer::textureFormats[] = { DXGI_FORMAT_B8G8R8A8_UNORM };
|
||||
DXGI_FORMAT Renderer::textureFormats[] = { DXGI_FORMAT_R8G8B8A8_UNORM };
|
||||
|
||||
void user_write_data_init(unsigned char* pBuffer, int size)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user