aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--frontend/plugin_lib.c2
1 files changed, 1 insertions, 1 deletions
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;