summaryrefslogtreecommitdiff
path: root/hw/xwin/winengine.c
diff options
context:
space:
mode:
authorAdam Jackson <ajax@redhat.com>2014-09-25 15:49:26 -0400
committerAdam Jackson <ajax@redhat.com>2014-10-09 09:28:04 +0200
commitc79f824bf6617816aaf10393beec8dddfa591f7b (patch)
treeaaf15d52786481d13f8d68c56f3acf8a501edbe5 /hw/xwin/winengine.c
parent8465ee788fd541fa37681aa0a44103c7f944d437 (diff)
xwin: Remove primary DirectDraw engine
Again, as the documentation says, "unsupported, obsolete". Reviewed-by: Jon TURNEY <jon.turney@dronecode.org.uk> Signed-off-by: Adam Jackson <ajax@redhat.com>
Diffstat (limited to 'hw/xwin/winengine.c')
-rw-r--r--hw/xwin/winengine.c14
1 files changed, 0 insertions, 14 deletions
diff --git a/hw/xwin/winengine.c b/hw/xwin/winengine.c
index 8aa90514c..b473b3ac0 100644
--- a/hw/xwin/winengine.c
+++ b/hw/xwin/winengine.c
@@ -90,15 +90,6 @@ winDetectSupportedEngines(void)
winErrorFVerb(2,
"winDetectSupportedEngines - DirectDraw installed, allowing ShadowDD\n");
g_dwEnginesSupported |= WIN_SERVER_SHADOW_DD;
-
-#ifdef XWIN_PRIMARYFB
- /* Allow PrimaryDD engine if NT */
- if (osvi.dwPlatformId == VER_PLATFORM_WIN32_NT) {
- g_dwEnginesSupported |= WIN_SERVER_PRIMARY_DD;
- winErrorFVerb(2,
- "winDetectSupportedEngines - Windows NT, allowing PrimaryDD\n");
- }
-#endif
}
/* Try to query for DirectDraw4 interface */
@@ -202,11 +193,6 @@ winSetEngine(ScreenPtr pScreen)
case WIN_SERVER_SHADOW_DDNL:
winSetEngineFunctionsShadowDDNL(pScreen);
break;
-#ifdef XWIN_PRIMARYFB
- case WIN_SERVER_PRIMARY_DD:
- winSetEngineFunctionsPrimaryDD(pScreen);
- break;
-#endif
default:
FatalError("winSetEngine - Invalid engine type\n");
}