Skip to content

Commit

Permalink
Pixmap: Add 16bpp format.
Browse files Browse the repository at this point in the history
  • Loading branch information
waddlesplash committed May 11, 2023
1 parent f0c05a2 commit 176de8e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion xlib/Pixmap.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,9 @@ XListPixmapFormats(Display* dpy, int* count_return)
{
// We theoretically support more formats than this.
static const XPixmapFormatValues formats[] = {
{.depth = 32, .bits_per_pixel = 32, .scanline_pad = 32},
{.depth = 24, .bits_per_pixel = 24, .scanline_pad = 32},
{.depth = 32, .bits_per_pixel = 32, .scanline_pad = 32}
{.depth = 16, .bits_per_pixel = 16, .scanline_pad = 16},
};
static const int count = B_COUNT_OF(formats);

Expand Down

0 comments on commit 176de8e

Please sign in to comment.