VirtualBox

Ignore:
Timestamp:
Apr 23, 2019 6:41:06 PM (6 years ago)
Author:
vboxsync
Message:

Config.kmk,GuestHost\OpenGL,HostServices\SharedOpenGL: Fix a bunch of compiler warnings and enable them again

File:
1 edited

Legend:

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

    r78190 r78263  
    243243}
    244244
    245 ContextInfo * renderspuDefaultSharedContextAcquire()
     245ContextInfo * renderspuDefaultSharedContextAcquire(void)
    246246{
    247247    ContextInfo * pCtx = render_spu.defaultSharedContext;
     
    651651    WindowInfo *window;
    652652
     653    RT_NOREF(dpyName);
     654
    653655    if (id <= 0)
    654656    {
     
    731733    window = (WindowInfo *) crHashtableSearch(render_spu.windowTable, win);
    732734    if (window) {
    733         if (w != window->BltInfo.width
    734                 || h != window->BltInfo.height)
     735        if (   (GLuint)w != window->BltInfo.width
     736            || (GLuint)h != window->BltInfo.height)
    735737        {
    736738            /* window is resized, compositor data is no longer valid
     
    10631065{
    10641066    PCR_BLITTER pBlitter = renderspuVBoxPresentBlitterGetAndEnter(window, i32MakeCurrentUserData, fRedraw);
     1067
     1068    RT_NOREF(pChangedEntry);
    10651069    if (!pBlitter)
    10661070        return;
     
    11111115{
    11121116    WindowInfo *window = (WindowInfo *) data1;
     1117    RT_NOREF(key, data2);
     1118
    11131119    renderspuVBoxCompositorSet(window, NULL);
    11141120}
    11151121
    1116 void renderspuVBoxCompositorClearAll()
     1122void renderspuVBoxCompositorClearAll(void)
    11171123{
    11181124    /* we need to clear window compositor, which is not that trivial though,
     
    15061512}
    15071513
    1508 bool renderspuCalloutAvailable()
     1514bool renderspuCalloutAvailable(void)
    15091515{
    15101516    return render_spu.pfnClientCallout != NULL;
     
    18541860{
    18551861    WindowInfo *pWindow = (WindowInfo *)data1;
     1862    RT_NOREF(key, data2);
    18561863
    18571864    renderspu_SystemReparentWindow(pWindow);
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