Merge pull request #50 from flangelo/fix_empty_surface_put
GUAC-1247: Fix case where 1x1 pixel surface put with non-dirty data w…
This commit is contained in:
commit
d3f6af5c49
@ -437,8 +437,8 @@ static void __guac_common_surface_put(unsigned char* src_buffer, int src_stride,
|
|||||||
|
|
||||||
int x, y;
|
int x, y;
|
||||||
|
|
||||||
int min_x = rect->width - 1;
|
int min_x = rect->width;
|
||||||
int min_y = rect->height - 1;
|
int min_y = rect->height;
|
||||||
int max_x = 0;
|
int max_x = 0;
|
||||||
int max_y = 0;
|
int max_y = 0;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user