Use bitsPerPixel

This commit is contained in:
Joshua Granick
2015-06-20 09:27:47 -07:00
parent d73460da18
commit 46958400ba
7 changed files with 36 additions and 26 deletions

View File

@@ -20,10 +20,11 @@ namespace lime {
~ImageBuffer ();
void Blit (const unsigned char *data, int x, int y, int width, int height);
void Resize (int width, int height, int bpp = 4);
void Resize (int width, int height, int bitsPerPixel = 32);
int Stride ();
value Value ();
int bpp;
int bitsPerPixel;
Bytes *data;
PixelFormat format;
int height;