summaryrefslogtreecommitdiffstats
path: root/libvo/vo_directx.c
diff options
context:
space:
mode:
Diffstat (limited to 'libvo/vo_directx.c')
-rw-r--r--libvo/vo_directx.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libvo/vo_directx.c b/libvo/vo_directx.c
index 87c9d5a645..b87c811b76 100644
--- a/libvo/vo_directx.c
+++ b/libvo/vo_directx.c
@@ -38,7 +38,7 @@
#include "geometry.h"
#include "mp_fifo.h"
-#ifdef HAVE_NEW_GUI
+#ifdef CONFIG_GUI
#include "gui/interface.h"
#endif
@@ -1294,7 +1294,7 @@ config(uint32_t width, uint32_t height, uint32_t d_width, uint32_t d_height, uin
if(format != primary_image_format)nooverlay = 0;
window_aspect= (float)d_image_width / (float)d_image_height;
-#ifdef HAVE_NEW_GUI
+#ifdef CONFIG_GUI
if(use_gui){
guiGetEvent(guiSetShVideo, 0);
}