VirtualBox

Changeset 31007 in vbox


Ignore:
Timestamp:
Jul 22, 2010 3:21:55 PM (14 years ago)
Author:
vboxsync
Message:

back out r63917

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VirtualBox/src/VBoxFBOverlay.cpp

    r31003 r31007  
    470470int VBoxVHWAGlShader::init()
    471471{
    472     int rc = VERR_GENERAL_FAILURE;
     472    int rc;
    473473    GLint *length;
    474474    const char **sources;
     
    481481        AssertRC(rc);
    482482        if(RT_FAILURE(rc))
    483             goto exit;
     483            return rc;
    484484        sources[i] = maComponents[i]->contents();
    485485    }
     
    512512    vboxglGetShaderInfoLog(mShader, 16300, NULL, pBuf);
    513513    VBOXQGLLOG(("\ncompile log:\n-----------\n%s\n---------\n", pBuf));
    514     delete[] pBuf;
     514    delete pBuf;
    515515#endif
    516516
     
    518518    if(compiled)
    519519    {
    520         rc = VINF_SUCCESS;
    521         goto exit;
     520        return VINF_SUCCESS;
    522521    }
    523522
     
    528527    mShader = 0;
    529528
    530 exit:
    531529    delete[] length;
    532530    delete[] sources;
    533     return rc;
     531    return VERR_GENERAL_FAILURE;
    534532}
    535533
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