diff options
Diffstat (limited to 'frontend/plugin_lib.c')
-rw-r--r-- | frontend/plugin_lib.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/frontend/plugin_lib.c b/frontend/plugin_lib.c index 5fd80cd..92c2b53 100644 --- a/frontend/plugin_lib.c +++ b/frontend/plugin_lib.c @@ -24,7 +24,7 @@ int pl_fbdev_init(void) w = 640; h = 512; // ?? - fbdev = vout_fbdev_init(fbdev_name, &w, &h, 0); + fbdev = vout_fbdev_init(fbdev_name, &w, &h, 16, 3); if (fbdev == NULL) return -1; @@ -36,7 +36,7 @@ int pl_fbdev_init(void) int pl_fbdev_set_mode(int w, int h, int bpp) { printf("set mode %dx%d@%d\n", w, h, bpp); - return vout_fbdev_resize(fbdev, w, h, 0, 0, 0, 0, 0); + return vout_fbdev_resize(fbdev, w, h, bpp, 0, 0, 0, 0, 3); } void *pl_fbdev_flip(void) |