mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-05-28 15:39:10 +00:00
Added support for the scRGB colorspace on D3D11 and D3D12
This commit is contained in:
parent
12c31898c1
commit
6f443e2aca
22 changed files with 654 additions and 323 deletions
|
@ -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) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue