Skip to content

Commit

Permalink
Remove unused code.
Browse files Browse the repository at this point in the history
  • Loading branch information
octalmage committed Jan 5, 2016
1 parent f42772b commit 6539910
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions src/robotjs.cc
Original file line number Diff line number Diff line change
Expand Up @@ -693,12 +693,6 @@ NAN_METHOD(getColor)

bitmap = createMMBitmap(data, width, height, byteWidth, bitsPerPixel, bytesPerPixel);

/*if (bitmap != NULL)
{
bitmap->imageBuffer = malloc(bitmap->bytewidth * bitmap->height);
memcpy(bitmap->imageBuffer, buf, bitmap->bytewidth * bitmap->height);
}*/

color = MMRGBHexAtPoint(bitmap, x, y);

char hex[7];
Expand Down

0 comments on commit 6539910

Please sign in to comment.