mirror of
https://github.com/netsurf-browser/netsurf
synced 2024-12-18 18:23:25 +03:00
Monkey: Drop bitmap get bpp function.
This commit is contained in:
parent
521440df7c
commit
26b189af67
@ -96,12 +96,6 @@ static size_t bitmap_get_rowstride(void *bitmap)
|
||||
return bmap->width * 4;
|
||||
}
|
||||
|
||||
static size_t bitmap_get_bpp(void *bitmap)
|
||||
{
|
||||
/* OMG?! */
|
||||
return 4;
|
||||
}
|
||||
|
||||
static bool bitmap_save(void *bitmap, const char *path, unsigned flags)
|
||||
{
|
||||
return true;
|
||||
@ -142,7 +136,6 @@ static struct gui_bitmap_table bitmap_table = {
|
||||
.get_rowstride = bitmap_get_rowstride,
|
||||
.get_width = bitmap_get_width,
|
||||
.get_height = bitmap_get_height,
|
||||
.get_bpp = bitmap_get_bpp,
|
||||
.save = bitmap_save,
|
||||
.modified = bitmap_modified,
|
||||
.render = bitmap_render,
|
||||
|
Loading…
Reference in New Issue
Block a user