mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-05-30 16:37:39 +00:00
Remove SDL_GPUDepthStencilValue struct
This commit is contained in:
parent
80e541d1fc
commit
d3091b9538
6 changed files with 11 additions and 28 deletions
|
@ -369,7 +369,7 @@ Render(SDL_Window *window, const int windownum)
|
|||
color_target.texture = winstate->tex_msaa ? winstate->tex_msaa : swapchain;
|
||||
|
||||
SDL_zero(depth_target);
|
||||
depth_target.clear_value.depth = 1.0f;
|
||||
depth_target.clear_depth = 1.0f;
|
||||
depth_target.load_op = SDL_GPU_LOADOP_CLEAR;
|
||||
depth_target.store_op = SDL_GPU_STOREOP_DONT_CARE;
|
||||
depth_target.texture = winstate->tex_depth;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue