shithub: choc

Download patch

ref: ea3b0114bd51314ee649a74d78ce080aa581429f
parent: 0e3e4653f8df775fdd41e18e956f465fd334f275
author: Simon Howard <[email protected]>
date: Sun Jun 7 14:18:02 EDT 2009

Don't add DirectX/Windib selector on Windows CE.

Subversion-branch: /trunk/chocolate-doom
Subversion-revision: 1574

--- a/setup/display.c
+++ b/setup/display.c
@@ -312,7 +312,7 @@
     screen_height = modes[vidmode].h;
 }
 
-#ifdef _WIN32
+#if defined(_WIN32) && !defined(_WIN32_WCE)
 
 static int win32_video_driver = 0;
 
@@ -405,7 +405,7 @@
     // 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;