VirtualBox

Ignore:
Timestamp:
May 26, 2011 8:50:49 AM (14 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
71920
Message:

wddm/3d: fix google earth rendering

Location:
trunk/src/VBox/Additions/common/crOpenGL
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/common/crOpenGL/icd_drv.c

    r34887 r37216  
    292292    if (fuPlanes == 1)
    293293    {
    294         DrvSwapBuffers(hdc);
    295         return 1;
     294        return DrvSwapBuffers(hdc);
    296295    }
    297296    else
  • trunk/src/VBox/Additions/common/crOpenGL/pack/packspu_get.py

    r37030 r37216  
    115115        || pname == GL_TEXTURE_BINDING_CUBE_MAP_ARB
    116116#endif
     117#ifdef CR_ARB_vertex_program
     118        || pname == GL_MAX_VERTEX_ATTRIBS_ARB
     119#endif
    117120        )
    118121        {
    119122#ifdef DEBUG
    120             if (!crPackIsPixelStoreParm(pname))
     123            if (!crPackIsPixelStoreParm(pname)
     124#ifdef CR_ARB_vertex_program
     125                && (pname!=GL_MAX_VERTEX_ATTRIBS_ARB)
     126#endif
     127               )
    121128            {
    122129                %s localparams;
  • trunk/src/VBox/Additions/common/crOpenGL/wgl.c

    r32527 r37216  
    362362BOOL WINAPI wglSwapLayerBuffers_prox( HDC hdc, UINT planes )
    363363{
    364     crWarning( "wglSwapLayerBuffers: unsupported" );
    365     return 0;
     364    if (planes == WGL_SWAP_MAIN_PLANE)
     365    {
     366        return wglSwapBuffers_prox(hdc);
     367    }
     368    else
     369    {
     370        crWarning( "wglSwapLayerBuffers: unsupported" );
     371        return 0;
     372    }
    366373}
    367374
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