Skip to content

Commit c3b319b

Browse files
committed
Bloom now also uses sRGB buffers
1 parent 11a3448 commit c3b319b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/Layers/xrRender_R2/r2_rendertarget.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -631,7 +631,7 @@ CRenderTarget::CRenderTarget()
631631

632632
// BLOOM
633633
{
634-
D3DFORMAT fmt = D3DFMT_A8R8G8B8; // D3DFMT_X8R8G8B8;
634+
D3DFORMAT fmt = (D3DFORMAT)666; // D3DFMT_X8R8G8B8;
635635
u32 w = BLOOM_size_X, h = BLOOM_size_Y;
636636
constexpr u32 fvf_build = D3DFVF_XYZRHW | D3DFVF_TEX4 | D3DFVF_TEXCOORDSIZE2(0) | D3DFVF_TEXCOORDSIZE2(1) |
637637
D3DFVF_TEXCOORDSIZE2(2) | D3DFVF_TEXCOORDSIZE2(3);

0 commit comments

Comments
 (0)