VirtualBox

忽略:
時間撮記:
2017-5-8 下午04:53:52 (8 年 以前)
作者:
vboxsync
訊息:

GuestHost: Adjustments for Visual C++ v12 / Visual Studio 2013. New warnings and sal_supp.h conflict.

檔案:
修改 1 筆資料

圖例:

未更動
新增
刪除
  • trunk/src/VBox/GuestHost/OpenGL/state_tracker/state_snapshot.c

    r62814 r66827  
    250250{
    251251    CRStencilBufferStack_v_33 stackV33;
    252     int32_t rc = SSMR3GetMem(pSSM, &stackV33, sizeof (stackV33));
     252    int32_t rc = SSMR3GetMem(pSSM, &stackV33, sizeof(stackV33));
     253    AssertLogRelReturn(rc, rc);
    253254
    254255    s->stencilTest = stackV33.stencilTest;
     
    465466                        GLint curTex;
    466467                        diff_api.GetIntegerv(getEnum, &curTex);
    467                         if (curTex != pTexture->hwid)
     468                        if ((GLuint)curTex != pTexture->hwid)
    468469                        {
    469470                            crWarning("texture not bound properly: expected %d, but was %d. Texture state data: target(0x%x), id(%d), w(%d), h(%d)",
     
    11011102static void crStateSaveGLSLShaderKeyCB(unsigned long key, void *data1, void *data2)
    11021103{
    1103     CRGLSLShader *pShader = (CRGLSLShader*) data1;
     1104    //CRGLSLShader *pShader = (CRGLSLShader*) data1;
    11041105    PSSMHANDLE pSSM = (PSSMHANDLE) data2;
    11051106    int32_t rc;
     
    14481449            for (i = u32Key; i < u32Count + u32Key; ++i)
    14491450            {
    1450                 GLboolean fIsNew = crHashtableAllocRegisterKey(pHash, i);
     1451                GLboolean fIsNew = crHashtableAllocRegisterKey(pHash, i); NOREF(fIsNew);
    14511452#if 0 //def DEBUG_misha
    14521453                CRASSERT(fIsNew);
注意: 瀏覽 TracChangeset 來幫助您使用更動檢視器

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette