diff options
Diffstat (limited to 'framebuffer')
-rw-r--r-- | framebuffer/bitmap.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/framebuffer/bitmap.c b/framebuffer/bitmap.c index 4f9e90647..4d4821686 100644 --- a/framebuffer/bitmap.c +++ b/framebuffer/bitmap.c @@ -46,7 +46,7 @@ void *bitmap_create(int width, int height, unsigned int state) if (bitmap->pixdata != NULL) { bitmap->width = width; bitmap->height = height; - bitmap->opaque = false; + bitmap->opaque = (state & BITMAP_OPAQUE) != 0; } else { free(bitmap); bitmap=NULL; |