VirtualBox

Ignore:
Timestamp:
Apr 12, 2013 4:51:01 PM (12 years ago)
Author:
vboxsync
Message:

crOpenGL: fix warnings

File:
1 edited

Legend:

Unmodified
Added
Removed
  • 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.

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