diff options
author | Brian Paul <[email protected]> | 2001-09-10 19:21:13 +0000 |
---|---|---|
committer | Brian Paul <[email protected]> | 2001-09-10 19:21:13 +0000 |
commit | 306933046cdc70e20af7facea8bc8a975812787e (patch) | |
tree | 05c360b1c210159a76c602f1279c8d30db53325b /progs/windml/uglolympic.c | |
parent | 30230a9cd171128c34c55bd751242dbe07dc3a89 (diff) |
WindML updates (Stephane Raimbault)
Diffstat (limited to 'progs/windml/uglolympic.c')
-rw-r--r-- | progs/windml/uglolympic.c | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/progs/windml/uglolympic.c b/progs/windml/uglolympic.c index de7c278b1a7..282558dacbd 100644 --- a/progs/windml/uglolympic.c +++ b/progs/windml/uglolympic.c @@ -419,7 +419,7 @@ UGL_LOCAL void loopEvent(void) } } -void windMLOlympic (void); +void windMLOlympic (UGL_BOOL windMLMode); void uglolympic (void) { @@ -427,7 +427,7 @@ void uglolympic (void) 0,1,2,3,4,5,6,7,8,9); } -void windMLOlympic(void) +void windMLOlympic(UGL_BOOL windMLMode) { UGL_INPUT_DEVICE_ID keyboardDevId; @@ -444,8 +444,13 @@ void windMLOlympic(void) { eventServiceId = UGL_NULL; } + + if (windMLMode) + umc = uglMesaCreateNewContext(UGL_MESA_DOUBLE + | UGL_MESA_WINDML_EXCLUSIVE, NULL); + else + umc = uglMesaCreateNewContext(UGL_MESA_DOUBLE, NULL); - umc = uglMesaCreateNewContext(UGL_MESA_DOUBLE, NULL); if (umc == NULL) { uglDeinitialize(); |