VirtualBox

Changeset 45527 in vbox for trunk/src/VBox


Ignore:
Timestamp:
Apr 12, 2013 4:51:01 PM (12 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
85007
Message:

crOpenGL: fix warnings

Location:
trunk/src/VBox/HostServices/SharedOpenGL/crserverlib
Files:
2 edited

Legend:

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

    r45348 r45527  
    24612461    }
    24622462
    2463     cr_server.head_spu->dispatch_table.WindowVisibleRegion(pMI->spuWindow, cRects, pRects);
     2463    cr_server.head_spu->dispatch_table.WindowVisibleRegion(pMI->spuWindow, cRects, (const GLint*)pRects);
    24642464
    24652465    pMI->fRootVrOn = cr_server.fRootVrOn;
  • trunk/src/VBox/HostServices/SharedOpenGL/crserverlib/server_window.c

    r45251 r45527  
    130130            {
    131131                /* do visible rects only ig they differ from the default */
    132                 cr_server.head_spu->dispatch_table.WindowVisibleRegion(mural->spuWindow, cRects, pRects);
     132                cr_server.head_spu->dispatch_table.WindowVisibleRegion(mural->spuWindow, cRects, (const GLint*)pRects);
    133133            }
    134134        }
     
    558558    cr_server.head_spu->dispatch_table.WindowSize(mural->spuWindow, width, height);
    559559
    560     cr_server.head_spu->dispatch_table.WindowVisibleRegion(mural->spuWindow, cRects, pRects);
     560    cr_server.head_spu->dispatch_table.WindowVisibleRegion(mural->spuWindow, cRects, (const GLint*)pRects);
    561561
    562562    if (mural->pvOutputRedirectInstance)
     
    661661                if (RT_SUCCESS(rc))
    662662                {
    663                     cr_server.head_spu->dispatch_table.WindowVisibleRegion(mural->spuWindow, cRects, pRects);
     663                    cr_server.head_spu->dispatch_table.WindowVisibleRegion(mural->spuWindow, cRects, (const GLint*)pRects);
    664664                }
    665665                else
     
    771771        }
    772772
    773         cr_server.head_spu->dispatch_table.WindowVisibleRegion(mural->spuWindow, cRealRects, pRealRects);
     773        cr_server.head_spu->dispatch_table.WindowVisibleRegion(mural->spuWindow, cRealRects, (const GLint*)pRealRects);
    774774
    775775        if (mural->pvOutputRedirectInstance)
Note: See TracChangeset for help on using the changeset viewer.

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