Changeset 44740 in vbox for trunk/src/VBox/HostServices/SharedOpenGL/crserverlib/server_main.c
- Timestamp:
- Feb 18, 2013 5:02:47 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/HostServices/SharedOpenGL/crserverlib/server_main.c
r44392 r44740 13 13 #include "cr_mem.h" 14 14 #include "cr_hash.h" 15 #include "cr_vreg.h" 15 16 #include "cr_environment.h" 16 17 #include "cr_pixeldata.h" … … 198 199 199 200 crNetTearDown(); 201 202 VBoxVrTerm(); 200 203 } 201 204 … … 243 246 char *mothership = NULL; 244 247 CRMuralInfo *defaultMural; 248 int rc = VBoxVrInit(); 249 if (!RT_SUCCESS(rc)) 250 { 251 crWarning("VBoxVrInit failed, rc %d", rc); 252 return; 253 } 245 254 246 255 for (i = 1 ; i < argc ; i++) … … 349 358 { 350 359 CRMuralInfo *defaultMural; 360 361 int rc = VBoxVrInit(); 362 if (!RT_SUCCESS(rc)) 363 { 364 crWarning("VBoxVrInit failed, rc %d", rc); 365 return GL_FALSE; 366 } 351 367 352 368 #if DEBUG_FP_EXCEPTIONS … … 1007 1023 else 1008 1024 { 1009 CR_BLITTER_TEXTURE Tex;1025 VBOXVR_TEXTURE Tex; 1010 1026 void *pvData; 1011 1027 GLuint idPBO = cr_server.bUsePBOForReadback ? pMural->idPBO : 0;
Note:
See TracChangeset
for help on using the changeset viewer.