VirtualBox

Ignore:
Timestamp:
Oct 1, 2013 12:20:04 PM (11 years ago)
Author:
vboxsync
Message:

crOpenGL: adjust & log config bits

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/HostServices/SharedOpenGL/crserverlib/server_main.c

    r48726 r48793  
    340340    }
    341341
    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     else
    349     {
    350         cr_server.u32Caps = CR_VBOX_CAP_TEX_PRESENT;
    351     }
    352 
    353342    cr_server.firstCallCreateContext = GL_TRUE;
    354343    cr_server.firstCallMakeCurrent = GL_TRUE;
     
    449438        crInfo("Info: using multiple contexts!");
    450439        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     else
    460     {
    461         cr_server.u32Caps = CR_VBOX_CAP_TEX_PRESENT;
    462440    }
    463441
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette