Added frame buffer grabber support

Former-commit-id: a73767a1abb2cac977492bd8c6cc593fb21840e1
This commit is contained in:
Gamadril
2015-01-18 00:04:45 +01:00
parent 391ccf4738
commit c89e1fcefa
11 changed files with 453 additions and 2 deletions

View File

@@ -142,7 +142,7 @@ public:
/// @param height The height of the image
void resize(const unsigned width, const unsigned height)
{
if ((width*height) > (_endOfPixels-_pixels))
if ((width*height) > unsigned((_endOfPixels-_pixels)))
{
delete[] _pixels;
_pixels = new Pixel_T[width*height + 1];