Small fix to the VNC renderer.
This commit is contained in:
@@ -167,12 +167,12 @@ vnc_display(rfbClientPtr cl)
|
|||||||
|
|
||||||
|
|
||||||
static void
|
static void
|
||||||
vnc_blit(int x, int y, int w, int h)
|
vnc_blit(int x, int y, int w, int h, int monitor_index)
|
||||||
{
|
{
|
||||||
uint32_t *p;
|
uint32_t *p;
|
||||||
int yy;
|
int yy;
|
||||||
|
|
||||||
if ((x < 0) || (y < 0) || (w <= 0) || (h <= 0) || (w > 2048) || (h > 2048) || (buffer32 == NULL))
|
if (monitor_index || (x < 0) || (y < 0) || (w <= 0) || (h <= 0) || (w > 2048) || (h > 2048) || (buffer32 == NULL))
|
||||||
return;
|
return;
|
||||||
|
|
||||||
for (yy=0; yy<h; yy++) {
|
for (yy=0; yy<h; yy++) {
|
||||||
|
Reference in New Issue
Block a user