VirtualBox

Ignore:
Timestamp:
Jul 10, 2014 3:48:05 PM (10 years ago)
Author:
vboxsync
Message:

crOpenGL/OSX: fix garbage on resize

Location:
trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk

  • trunk/src/VBox

  • trunk/src/VBox/HostServices/SharedOpenGL/render/renderspu.c

    r51442 r51975  
    10171017     * no need to synch here
    10181018     * the lock is actually needed to ensure we're in synch with the redraw thread */
    1019     if (window->pCompositor == pCompositor && ! fEmpty)
     1019    if (window->pCompositor == pCompositor && !fEmpty)
    10201020        return !!pCompositor;
    10211021
     
    10311031        }
    10321032
    1033         window->pCompositor = pCompositor;
     1033        window->pCompositor = !fEmpty ? pCompositor : NULL;
    10341034        RTCritSectLeave(&window->CompositorLock);
    10351035        return fNeedPresent;
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