Changeset 48793 in vbox for trunk/src/VBox/HostServices/SharedOpenGL/crserverlib/server_main.c
- Timestamp:
- Oct 1, 2013 12:20:04 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/HostServices/SharedOpenGL/crserverlib/server_main.c
r48726 r48793 340 340 } 341 341 342 env = crGetenv("CR_SERVER_CAPS");343 if (env && env[0] != '\0')344 {345 cr_server.u32Caps = crServerVBoxParseNumerics(env, 0);346 cr_server.u32Caps &= ~(CR_VBOX_CAP_TEX_PRESENT | CR_VBOX_CAP_NO_DWM_SUPPORT);347 }348 else349 {350 cr_server.u32Caps = CR_VBOX_CAP_TEX_PRESENT;351 }352 353 342 cr_server.firstCallCreateContext = GL_TRUE; 354 343 cr_server.firstCallMakeCurrent = GL_TRUE; … … 449 438 crInfo("Info: using multiple contexts!"); 450 439 crDebug("Debug: using multiple contexts!"); 451 }452 453 env = crGetenv("CR_SERVER_CAPS");454 if (env && env[0] != '\0')455 {456 cr_server.u32Caps = crServerVBoxParseNumerics(env, 0);457 cr_server.u32Caps &= ~(CR_VBOX_CAP_TEX_PRESENT | CR_VBOX_CAP_NO_DWM_SUPPORT);458 }459 else460 {461 cr_server.u32Caps = CR_VBOX_CAP_TEX_PRESENT;462 440 } 463 441
Note:
See TracChangeset
for help on using the changeset viewer.