aboutsummaryrefslogtreecommitdiff
path: root/xorg-server/hw/xwin/winprocarg.c
diff options
context:
space:
mode:
authormarha <marha@users.sourceforge.net>2009-11-20 13:01:45 +0000
committermarha <marha@users.sourceforge.net>2009-11-20 13:01:45 +0000
commitd2d9977f1153b5222b34859a2cb22b957bfe3221 (patch)
treea732c0c90bbd06bbf003e23a3ec08300e154a51d /xorg-server/hw/xwin/winprocarg.c
parentda051c6af428703e746c6a1677e1dce032b86c41 (diff)
downloadvcxsrv-d2d9977f1153b5222b34859a2cb22b957bfe3221.tar.gz
vcxsrv-d2d9977f1153b5222b34859a2cb22b957bfe3221.tar.bz2
vcxsrv-d2d9977f1153b5222b34859a2cb22b957bfe3221.zip
Native glx is compiling and running now (although no acceleration is happening... to be investigated further)
Diffstat (limited to 'xorg-server/hw/xwin/winprocarg.c')
-rw-r--r--xorg-server/hw/xwin/winprocarg.c14
1 files changed, 14 insertions, 0 deletions
diff --git a/xorg-server/hw/xwin/winprocarg.c b/xorg-server/hw/xwin/winprocarg.c
index 8b8af966e..40fb41e8e 100644
--- a/xorg-server/hw/xwin/winprocarg.c
+++ b/xorg-server/hw/xwin/winprocarg.c
@@ -65,6 +65,7 @@ extern Bool g_fKeyboardHookLL;
extern Bool g_fNoHelpMessageBox;
extern Bool g_fSoftwareCursor;
extern Bool g_fSilentDupError;
+extern Bool g_fNativeGl;
/* globals required by callback function for monitor information */
struct GetMonitorInfoData {
@@ -1421,6 +1422,19 @@ ddxProcessArgument (int argc, char *argv[], int i)
g_fSilentDupError = TRUE;
return 1;
}
+
+ if (IS_OPTION("-wgl"))
+ {
+ g_fNativeGl = TRUE;
+ return 1;
+ }
+
+ if (IS_OPTION("-nowgl"))
+ {
+ g_fNativeGl = FALSE;
+ return 1;
+ }
+
return 0;
}