VirtualBox

Changeset 78593 in vbox for trunk/src/VBox


Ignore:
Timestamp:
May 20, 2019 10:20:22 AM (6 years ago)
Author:
vboxsync
Message:

Devices/Graphics: use more vmsvga3d helpers, minor cleanups (build fix)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/Graphics/DevVGA-SVGA3d-ogl.cpp

    r78589 r78593  
    45074507            LogFunc(("create depth texture to be used as render target; surface id=%x type=%d format=%d -> create texture\n",
    45084508                     target.sid, pRenderTarget->surfaceFlags, pRenderTarget->format));
    4509             int rc = vmsvga3dBackCreateTexture(pState, pContext, cid, pRenderTarget);
     4509            rc = vmsvga3dBackCreateTexture(pState, pContext, cid, pRenderTarget);
    45104510            AssertRCReturn(rc, rc);
    45114511        }
     
    45764576        {
    45774577            Log(("vmsvga3dSetRenderTarget: create texture to be used as render target; surface id=%x type=%d format=%d -> create texture\n", target.sid, pRenderTarget->surfaceFlags, pRenderTarget->format));
    4578             int rc = vmsvga3dBackCreateTexture(pState, pContext, cid, pRenderTarget);
     4578            rc = vmsvga3dBackCreateTexture(pState, pContext, cid, pRenderTarget);
    45794579            AssertRCReturn(rc, rc);
    45804580        }
     
    48334833            if (pContext->aSidActiveTextures[currentStage] != SVGA3D_INVALID_ID)
    48344834            {
    4835                 int rc = vmsvga3dSurfaceFromSid(pState, pContext->aSidActiveTextures[currentStage], &pCurrentTextureSurface);
     4835                rc = vmsvga3dSurfaceFromSid(pState, pContext->aSidActiveTextures[currentStage], &pCurrentTextureSurface);
    48364836                AssertRCReturn(rc, rc);
    48374837            }
     
    49084908                {
    49094909                    PVMSVGA3DSURFACE pSurface;
    4910                     int rc = vmsvga3dSurfaceFromSid(pState, sid, &pSurface);
     4910                    rc = vmsvga3dSurfaceFromSid(pState, sid, &pSurface);
    49114911                    AssertRCReturn(rc, rc);
    49124912
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