[client,sdl] fix missing field initializer warnings
This commit is contained in:
parent
3ab6d2f918
commit
189abc73f3
@ -188,10 +188,24 @@ static BOOL sdl_Pointer_SetPosition(rdpContext* context, UINT32 x, UINT32 y)
|
||||
|
||||
BOOL sdl_register_pointer(rdpGraphics* graphics)
|
||||
{
|
||||
const rdpPointer pointer = { sizeof(sdlPointer), sdl_Pointer_New,
|
||||
sdl_Pointer_Free, sdl_Pointer_Set,
|
||||
sdl_Pointer_SetNull, sdl_Pointer_SetDefault,
|
||||
sdl_Pointer_SetPosition, { 0 } };
|
||||
const rdpPointer pointer = { sizeof(sdlPointer),
|
||||
sdl_Pointer_New,
|
||||
sdl_Pointer_Free,
|
||||
sdl_Pointer_Set,
|
||||
sdl_Pointer_SetNull,
|
||||
sdl_Pointer_SetDefault,
|
||||
sdl_Pointer_SetPosition,
|
||||
{},
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
nullptr,
|
||||
nullptr,
|
||||
{} };
|
||||
graphics_register_pointer(graphics, &pointer);
|
||||
return TRUE;
|
||||
}
|
||||
|
@ -186,10 +186,10 @@ static BOOL sdl_Pointer_SetPosition(rdpContext* context, UINT32 x, UINT32 y)
|
||||
|
||||
BOOL sdl_register_pointer(rdpGraphics* graphics)
|
||||
{
|
||||
const rdpPointer pointer = { sizeof(sdlPointer), sdl_Pointer_New,
|
||||
sdl_Pointer_Free, sdl_Pointer_Set,
|
||||
sdl_Pointer_SetNull, sdl_Pointer_SetDefault,
|
||||
sdl_Pointer_SetPosition, { 0 } };
|
||||
const rdpPointer pointer = {
|
||||
sizeof(sdlPointer), sdl_Pointer_New, sdl_Pointer_Free, sdl_Pointer_Set, sdl_Pointer_SetNull,
|
||||
sdl_Pointer_SetDefault, sdl_Pointer_SetPosition, {}, 0, 0, 0, 0, 0, 0, 0, nullptr, nullptr,
|
||||
{};
|
||||
graphics_register_pointer(graphics, &pointer);
|
||||
return TRUE;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user