(D3D10/11) All struct members are already being set

This commit is contained in:
twinaphex 2019-04-08 18:42:52 +02:00
parent 8aaef0e95c
commit c12e8dea07
2 changed files with 8 additions and 8 deletions

View file

@ -76,7 +76,7 @@ d3d10_overlay_vertex_geom(void* data, unsigned index, float x, float y, float w,
static void d3d10_clear_scissor(d3d10_video_t *d3d10, video_frame_info_t *video_info)
{
D3D10_RECT scissor_rect = {0};
D3D10_RECT scissor_rect;
scissor_rect.left = 0;
scissor_rect.top = 0;

View file

@ -93,7 +93,7 @@ d3d11_overlay_vertex_geom(void* data, unsigned index, float x, float y, float w,
static void d3d11_clear_scissor(d3d11_video_t *d3d11, video_frame_info_t *video_info)
{
D3D11_RECT scissor_rect = {0};
D3D11_RECT scissor_rect;
scissor_rect.left = 0;
scissor_rect.top = 0;