summaryrefslogtreecommitdiff
path: root/setup
diff options
context:
space:
mode:
authorSimon Howard2009-06-07 18:18:02 +0000
committerSimon Howard2009-06-07 18:18:02 +0000
commitea3b0114bd51314ee649a74d78ce080aa581429f (patch)
tree9d27a5f2cc629eb540c38ee5675ae74a9c8dfd67 /setup
parent0e3e4653f8df775fdd41e18e956f465fd334f275 (diff)
downloadchocolate-doom-ea3b0114bd51314ee649a74d78ce080aa581429f.tar.gz
chocolate-doom-ea3b0114bd51314ee649a74d78ce080aa581429f.tar.bz2
chocolate-doom-ea3b0114bd51314ee649a74d78ce080aa581429f.zip
Don't add DirectX/Windib selector on Windows CE.
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 1574
Diffstat (limited to 'setup')
-rw-r--r--setup/display.c4
1 files 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;