From 9da0b48712c7878a83a479959e5403af6d12e043 Mon Sep 17 00:00:00 2001 From: Vincent Sanders Date: Fri, 25 Dec 2009 10:01:27 +0000 Subject: make the test app compile again svn path=/trunk/libnsfb/; revision=9758 --- src/frontend_linux.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'src/frontend_linux.c') diff --git a/src/frontend_linux.c b/src/frontend_linux.c index 3790a76..ce34cec 100644 --- a/src/frontend_linux.c +++ b/src/frontend_linux.c @@ -13,18 +13,22 @@ #include "libnsfb_event.h" #include "nsfb.h" #include "frontend.h" +#include "plotters.h" #define UNUSED(x) ((x) = (x)) static int linux_set_geometry(nsfb_t *nsfb, int width, int height, int bpp) { if (nsfb->frontend_priv != NULL) - return -1; /* if were already initialised fail */ + return -1; /* if we are already initialised fail */ nsfb->width = width; nsfb->height = height; nsfb->bpp = bpp; + /* select default sw plotters for bpp */ + select_plotters(nsfb); + return 0; } -- cgit v1.2.3