VirtualBox

Ignore:
Timestamp:
Apr 14, 2014 2:21:37 PM (11 years ago)
Author:
vboxsync
Message:

crOpenGL: fix to switch on/off new command submission

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/HostServices/SharedOpenGL/render/renderspu_glx.c

    r50095 r51064  
    673673        if (RT_SUCCESS(rc))
    674674        {
    675             rc = RTSemEventWait(render_spu.hWinCmdCompleteEvent, RT_INDEFINITE_WAIT);
     675            rc = RTSemEventWait(render_spu.hWinCmdCompleteEvent, RT_INDEFINITE_WAIT);
    676676            if (RT_SUCCESS(rc))
    677677            {
    678                 return VINF_SUCCESS;
    679             }
     678                return VINF_SUCCESS;
     679            }
    680680            else
    681681            {
    682                 crWarning("RTSemEventWait failed rc %d", rc);
    683             }
    684 
    685             RTThreadWait(render_spu.hWinCmdThread, RT_INDEFINITE_WAIT, NULL);
     682            crWarning("RTSemEventWait failed rc %d", rc);
     683        }
     684
     685        RTThreadWait(render_spu.hWinCmdThread, RT_INDEFINITE_WAIT, NULL);
    686686        }
    687687        else
     
    689689            crWarning("RTThreadCreate failed rc %d", rc);
    690690        }
    691         RTSemEventDestroy(render_spu.hWinCmdCompleteEvent);
     691            RTSemEventDestroy(render_spu.hWinCmdCompleteEvent);
    692692    }
    693693    else
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