VirtualBox

Ignore:
Timestamp:
May 3, 2019 9:51:02 PM (6 years ago)
Author:
vboxsync
Message:

Additions/common/crOpengl,GuestHost/OpenGL,HostServices/SharedOpenGL: Eliminate all global variables from the state tracker library (state_tracker) in preparation of the SPU DLL merging, bugref:9435

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/HostServices/SharedOpenGL/crserverlib/server_getteximage.cpp

    r78190 r78375  
    2121
    2222#ifdef CR_ARB_pixel_buffer_object
    23     if (crStateIsBufferBound(GL_PIXEL_PACK_BUFFER_ARB))
     23    if (crStateIsBufferBound(&cr_server.StateTracker, GL_PIXEL_PACK_BUFFER_ARB))
    2424    {
    2525        GLvoid *pbo_offset;
     
    104104
    105105#ifdef CR_ARB_pixel_buffer_object
    106     if (crStateIsBufferBound(GL_PIXEL_PACK_BUFFER_ARB))
     106    if (crStateIsBufferBound(&cr_server.StateTracker, GL_PIXEL_PACK_BUFFER_ARB))
    107107    {
    108108        GLvoid *pbo_offset;
     
    136136{
    137137#ifdef CR_ARB_pixel_buffer_object
    138     if (crStateIsBufferBound(GL_PIXEL_PACK_BUFFER_ARB))
     138    if (crStateIsBufferBound(&cr_server.StateTracker, GL_PIXEL_PACK_BUFFER_ARB))
    139139    {
    140140        GLvoid *pbo_offset;
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