bugfix
authornotaz <notasas@gmail.com>
Sat, 15 Jan 2011 22:22:30 +0000 (00:22 +0200)
committernotaz <notasas@gmail.com>
Sat, 15 Jan 2011 22:22:41 +0000 (00:22 +0200)
frontend/plugin_lib.c

index 93640c3..dfa2fae 100644 (file)
@@ -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;