mirror of
https://github.com/FreeRDP/FreeRDP.git
synced 2025-06-03 00:00:20 +00:00
Fixed surface width
This commit is contained in:
parent
a199d2a051
commit
30520ff5e0
@ -60,7 +60,7 @@ static INLINE BOOL shadow_client_rdpgfx_new_surface(rdpShadowClient* client)
|
||||
|
||||
WINPR_ASSERT(settings->DesktopWidth <= UINT16_MAX);
|
||||
WINPR_ASSERT(settings->DesktopHeight <= UINT16_MAX);
|
||||
createSurface.width = (UINT16)settings->DesktopWidth + 64;
|
||||
createSurface.width = (UINT16)settings->DesktopWidth;
|
||||
createSurface.height = (UINT16)settings->DesktopHeight;
|
||||
createSurface.pixelFormat = GFX_PIXEL_FORMAT_XRGB_8888;
|
||||
createSurface.surfaceId = client->surfaceId;
|
||||
|
Loading…
Reference in New Issue
Block a user