mirror of
https://github.com/libretro/RetroArch
synced 2025-04-11 00:44:20 +00:00
Fix travis warnings.
This commit is contained in:
parent
f5343c83eb
commit
c9b0ba1123
@ -84,7 +84,7 @@ typedef struct
|
|||||||
float last_dt;
|
float last_dt;
|
||||||
} Game_Input;
|
} Game_Input;
|
||||||
|
|
||||||
static Game_Input g_input = {0};
|
static Game_Input g_input = {{{0}}};
|
||||||
|
|
||||||
typedef struct
|
typedef struct
|
||||||
{
|
{
|
||||||
|
@ -632,7 +632,7 @@ d3d10_gfx_init(const video_info_t* video,
|
|||||||
|
|
||||||
{
|
{
|
||||||
UINT flags = 0;
|
UINT flags = 0;
|
||||||
DXGI_SWAP_CHAIN_DESC desc = {0};
|
DXGI_SWAP_CHAIN_DESC desc = {{0}};
|
||||||
|
|
||||||
desc.BufferCount = 1;
|
desc.BufferCount = 1;
|
||||||
desc.BufferDesc.Width = d3d10->vp.full_width;
|
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__
|
#ifdef __WINRT__
|
||||||
/* UWP requires the use of newer version of the factory which requires newer version of this struct */
|
/* 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
|
#else
|
||||||
DXGI_SWAP_CHAIN_DESC desc = { 0 };
|
DXGI_SWAP_CHAIN_DESC desc = {{0}};
|
||||||
#endif
|
#endif
|
||||||
UINT number_feature_levels = ARRAY_SIZE(requested_feature_levels);
|
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;
|
struct gdi_texture *texture = NULL;
|
||||||
gdi_t *gdi = (gdi_t*)video_driver_get_ptr(false);
|
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)
|
if (!gdi || !draw || draw->x < 0 || draw->y < 0 || draw->width <= 1 || draw->height <= 1)
|
||||||
return;
|
return;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user