VirtualBox

Ignore:
Timestamp:
Aug 2, 2012 11:32:51 AM (12 years ago)
Author:
vboxsync
Message:

crOpenGL: context-connection: avoid unnecessary connection on packer init

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/common/crOpenGL/pack/packspu_glsl.c

    r42499 r42528  
    2929    int writeback = 1;
    3030    GLuint return_val = (GLuint) 0;
    31     if (!(pack_spu.thread[pack_spu.idxThreadInUse].netServer.conn->actual_network))
     31    if (!CRPACKSPU_IS_WDDM_CRHGSMI() && !(pack_spu.thread[pack_spu.idxThreadInUse].netServer.conn->actual_network))
    3232    {
    3333        crError("packspu_CreateProgram doesn't work when there's no actual network involved!\nTry using the simplequery SPU in your chain!");
     
    5858    int writeback = 1;
    5959    GLint return_val = (GLint) 0;
    60     if (!(pack_spu.thread[pack_spu.idxThreadInUse].netServer.conn->actual_network))
     60    if (!CRPACKSPU_IS_WDDM_CRHGSMI() && !(pack_spu.thread[pack_spu.idxThreadInUse].netServer.conn->actual_network))
    6161    {
    6262        crError("packspu_GetUniformLocation doesn't work when there's no actual network involved!\nTry using the simplequery SPU in your chain!");
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