From 7947ab550d7e0bf2964e479429b6f7251ae46bcf Mon Sep 17 00:00:00 2001 From: notaz Date: Sun, 16 Jan 2011 00:22:30 +0200 Subject: bugfix --- frontend/plugin_lib.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'frontend') diff --git a/frontend/plugin_lib.c b/frontend/plugin_lib.c index 93640c3..dfa2fae 100644 --- a/frontend/plugin_lib.c +++ b/frontend/plugin_lib.c @@ -67,7 +67,7 @@ void *pl_fbdev_set_mode(int w, int h, int bpp) void *ret; if (w == pl_fbdev_w && h == pl_fbdev_h && bpp == pl_fbdev_bpp) - return 0; + return pl_fbdev_buf; pl_fbdev_w = w; pl_fbdev_h = h; -- cgit v1.2.3