From 1d7fdc64bace493119009840d6198c9afc42f304 Mon Sep 17 00:00:00 2001 From: twinaphex Date: Sat, 13 Feb 2016 23:59:45 +0100 Subject: [PATCH] (D3D) Buildfix --- gfx/d3d/d3d.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gfx/d3d/d3d.cpp b/gfx/d3d/d3d.cpp index cdff0b0e78..27dd1d1656 100644 --- a/gfx/d3d/d3d.cpp +++ b/gfx/d3d/d3d.cpp @@ -890,7 +890,7 @@ static bool d3d_focus(void *data) static bool d3d_suppress_screensaver(void *data, bool enable) { bool enabled = enable; - return gfx_ctl(GFX_CTL_SUPPRESS_SCREENSAVER, &enabled); + return gfx_ctx_ctl(GFX_CTL_SUPPRESS_SCREENSAVER, &enabled); } static bool d3d_has_windowed(void *data)