From 914455e692f4720c43f4bc2122a4795e6c45bc7c Mon Sep 17 00:00:00 2001 From: notaz Date: Thu, 8 Dec 2011 23:09:36 +0200 Subject: gpu_neon: propagate configs to rasterizers --- plugins/gpu_neon/unai_if.cpp | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'plugins/gpu_neon/unai_if.cpp') diff --git a/plugins/gpu_neon/unai_if.cpp b/plugins/gpu_neon/unai_if.cpp index 2b524d9..0497dda 100644 --- a/plugins/gpu_neon/unai_if.cpp +++ b/plugins/gpu_neon/unai_if.cpp @@ -250,3 +250,12 @@ void renderer_invalidate_caches(int x, int y, int w, int h) void renderer_flush_queues(void) { } + +#include "../../frontend/plugin_lib.h" + +void renderer_set_config(const struct rearmed_cbs *cbs) +{ + enableAbbeyHack = cbs->gpu_unai.abe_hack; + light = !cbs->gpu_unai.no_light; + blend = !cbs->gpu_unai.no_blend; +} -- cgit v1.2.3