From 468072a17a20bf584df17f14e329441eebf66776 Mon Sep 17 00:00:00 2001 From: notaz Date: Tue, 5 Feb 2013 00:42:51 +0200 Subject: frontend: do all bpp handling in plugin_lib --- plugins/gpulib/vout_pl.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'plugins/gpulib/vout_pl.c') diff --git a/plugins/gpulib/vout_pl.c b/plugins/gpulib/vout_pl.c index 5af0762..7f031fe 100644 --- a/plugins/gpulib/vout_pl.c +++ b/plugins/gpulib/vout_pl.c @@ -50,8 +50,7 @@ static void check_mode_change(int force) old_status = gpu.status.reg; old_h = h; - cbs->pl_vout_set_mode(w_out, h_out, w, h, - (gpu.status.rgb24 && !cbs->only_16bpp) ? 24 : 16); + cbs->pl_vout_set_mode(w_out, h_out, w, h, gpu.status.rgb24 ? 24 : 16); } } -- cgit v1.2.3 From c82f907a99f7d0d3071471489d247f4b4394a8b7 Mon Sep 17 00:00:00 2001 From: notaz Date: Fri, 8 Feb 2013 02:05:48 +0200 Subject: move cspace back to frontend plugins no longer depend on it --- plugins/gpulib/vout_pl.c | 1 - 1 file changed, 1 deletion(-) (limited to 'plugins/gpulib/vout_pl.c') diff --git a/plugins/gpulib/vout_pl.c b/plugins/gpulib/vout_pl.c index 7f031fe..541b5e0 100644 --- a/plugins/gpulib/vout_pl.c +++ b/plugins/gpulib/vout_pl.c @@ -11,7 +11,6 @@ #include #include "gpu.h" -#include "cspace.h" #include "../../frontend/plugin_lib.h" static const struct rearmed_cbs *cbs; -- cgit v1.2.3