Skip to content

Commit

Permalink
Bloom now also uses sRGB buffers
Browse files Browse the repository at this point in the history
  • Loading branch information
kosumosu committed Dec 28, 2023
1 parent 0f393dd commit 386fd58
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Layers/xrRender_R2/r2_rendertarget.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -631,7 +631,7 @@ CRenderTarget::CRenderTarget()

// BLOOM
{
D3DFORMAT fmt = D3DFMT_A8R8G8B8; // D3DFMT_X8R8G8B8;
D3DFORMAT fmt = (D3DFORMAT)666; // D3DFMT_X8R8G8B8;
u32 w = BLOOM_size_X, h = BLOOM_size_Y;
constexpr u32 fvf_build = D3DFVF_XYZRHW | D3DFVF_TEX4 | D3DFVF_TEXCOORDSIZE2(0) | D3DFVF_TEXCOORDSIZE2(1) |
D3DFVF_TEXCOORDSIZE2(2) | D3DFVF_TEXCOORDSIZE2(3);
Expand Down

0 comments on commit 386fd58

Please sign in to comment.