Skip to content

Commit

Permalink
(fix): Disable sRGB for consistency with GL3
Browse files Browse the repository at this point in the history
  • Loading branch information
hyblocker committed Sep 24, 2024
1 parent 6a34452 commit fc02417
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Backends/RmlUi_Renderer_DX11.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -659,7 +659,7 @@ Rml::TextureHandle RenderInterface_DX11::GenerateTexture(Rml::Span<const Rml::by
textureDesc.Height = source_dimensions.y;
textureDesc.MipLevels = 0;
textureDesc.ArraySize = 1;
textureDesc.Format = DXGI_FORMAT_R8G8B8A8_UNORM_SRGB;
textureDesc.Format = DXGI_FORMAT_R8G8B8A8_UNORM;
textureDesc.SampleDesc.Count = 1;
textureDesc.SampleDesc.Quality = 0;
textureDesc.Usage = D3D11_USAGE_DEFAULT;
Expand Down

0 comments on commit fc02417

Please sign in to comment.