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_getpixelmap.cpp

    r78190 r78375  
    6464{
    6565#ifdef CR_ARB_pixel_buffer_object
    66     if (crStateIsBufferBound(GL_PIXEL_PACK_BUFFER_ARB))
     66    if (crStateIsBufferBound(&cr_server.StateTracker, GL_PIXEL_PACK_BUFFER_ARB))
    6767    {
    6868        GLvoid *pbo_offset;
     
    9191{
    9292#ifdef CR_ARB_pixel_buffer_object
    93     if (crStateIsBufferBound(GL_PIXEL_PACK_BUFFER_ARB))
     93    if (crStateIsBufferBound(&cr_server.StateTracker, GL_PIXEL_PACK_BUFFER_ARB))
    9494    {
    9595        GLvoid *pbo_offset;
     
    118118{
    119119#ifdef CR_ARB_pixel_buffer_object
    120     if (crStateIsBufferBound(GL_PIXEL_PACK_BUFFER_ARB))
     120    if (crStateIsBufferBound(&cr_server.StateTracker, GL_PIXEL_PACK_BUFFER_ARB))
    121121    {
    122122        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