Added support for the scRGB colorspace on D3D11 and D3D12

This commit is contained in:
Sam Lantinga 2024-01-31 17:25:25 -08:00
parent 12c31898c1
commit 6f443e2aca
22 changed files with 654 additions and 323 deletions

View file

@ -1124,6 +1124,7 @@ SDL_Renderer *SW_CreateRendererForSurface(SDL_Surface *surface)
if (!renderer) {
return NULL;
}
renderer->magic = &SDL_renderer_magic;
data = (SW_RenderData *)SDL_calloc(1, sizeof(*data));
if (!data) {