mirror of
https://github.com/libretro/RetroArch
synced 2025-03-03 04:14:00 +00:00
commit
6f5dfeb20e
@ -84,7 +84,7 @@ typedef struct
|
||||
float last_dt;
|
||||
} Game_Input;
|
||||
|
||||
static Game_Input g_input = {0};
|
||||
static Game_Input g_input = {{{0}}};
|
||||
|
||||
typedef struct
|
||||
{
|
||||
|
@ -632,7 +632,7 @@ d3d10_gfx_init(const video_info_t* video,
|
||||
|
||||
{
|
||||
UINT flags = 0;
|
||||
DXGI_SWAP_CHAIN_DESC desc = {0};
|
||||
DXGI_SWAP_CHAIN_DESC desc = {{0}};
|
||||
|
||||
desc.BufferCount = 1;
|
||||
desc.BufferDesc.Width = d3d10->vp.full_width;
|
||||
|
@ -649,9 +649,9 @@ d3d11_gfx_init(const video_info_t* video, const input_driver_t** input, void** i
|
||||
};
|
||||
#ifdef __WINRT__
|
||||
/* UWP requires the use of newer version of the factory which requires newer version of this struct */
|
||||
DXGI_SWAP_CHAIN_DESC1 desc = { 0 };
|
||||
DXGI_SWAP_CHAIN_DESC1 desc = {{0}};
|
||||
#else
|
||||
DXGI_SWAP_CHAIN_DESC desc = { 0 };
|
||||
DXGI_SWAP_CHAIN_DESC desc = {{0}};
|
||||
#endif
|
||||
UINT number_feature_levels = ARRAY_SIZE(requested_feature_levels);
|
||||
|
||||
|
@ -50,7 +50,7 @@ static void menu_display_gdi_draw(menu_display_ctx_draw_t *draw,
|
||||
{
|
||||
struct gdi_texture *texture = NULL;
|
||||
gdi_t *gdi = (gdi_t*)video_driver_get_ptr(false);
|
||||
BITMAPINFO info = {0};
|
||||
BITMAPINFO info = {{0}};
|
||||
|
||||
if (!gdi || !draw || draw->x < 0 || draw->y < 0 || draw->width <= 1 || draw->height <= 1)
|
||||
return;
|
||||
|
Loading…
x
Reference in New Issue
Block a user