aboutsummaryrefslogtreecommitdiff
path: root/plugins/dfxvideo/gpulib_if.c
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/dfxvideo/gpulib_if.c')
-rw-r--r--plugins/dfxvideo/gpulib_if.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/plugins/dfxvideo/gpulib_if.c b/plugins/dfxvideo/gpulib_if.c
index 50130f6..d98520c 100644
--- a/plugins/dfxvideo/gpulib_if.c
+++ b/plugins/dfxvideo/gpulib_if.c
@@ -421,5 +421,7 @@ void renderer_set_config(const struct rearmed_cbs *cbs)
{
iUseDither = cbs->gpu_peops.iUseDither;
dwActFixes = cbs->gpu_peops.dwActFixes;
+ if (cbs->pl_set_gpu_caps)
+ cbs->pl_set_gpu_caps(0);
set_vram(gpu.vram);
}