commit ea3b0114bd51314ee649a74d78ce080aa581429f
Author: Simon Howard <fraggle@gmail.com>
AuthorDate: Sun Jun 7 18:18:02 2009 +0000
Commit: Simon Howard <fraggle@gmail.com>
CommitDate: Sun Jun 7 18:18:02 2009 +0000
Don't add DirectX/Windib selector on Windows CE.
Subversion-branch: /trunk/chocolate-doom
Subversion-revision: 1574
---
setup/display.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/setup/display.c b/setup/display.c
index 38f301a1..a0960dfe 100644
--- a/setup/display.c
+++ b/setup/display.c
@@ -312,7 +312,7 @@ static void GenerateModesTable(TXT_UNCAST_ARG(widget),
screen_height = modes[vidmode].h;
}
-#ifdef _WIN32
+#if defined(_WIN32) && !defined(_WIN32_WCE)
static int win32_video_driver = 0;
@@ -405,7 +405,7 @@ void ConfigDisplay(void)
// On Windows, there is an extra control to change between
// the Windows GDI and DirectX video drivers.
-#ifdef _WIN32
+#if defined(_WIN32) && !defined(_WIN32_WCE)
{
txt_table_t *driver_table;
txt_dropdown_list_t *driver_list;