GUAC-1247: Fix case where 1x1 pixel surface put with non-dirty data was not ignored

This commit is contained in:
Frode Langelo 2015-07-08 11:12:34 -07:00
parent 31e90bcdf4
commit 9c8756556a

View File

@ -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;