VirtualBox

Changeset 3516 in vbox


Ignore:
Timestamp:
Jul 9, 2007 4:31:37 PM (18 years ago)
Author:
vboxsync
Message:

update

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/WINNT/Graphics/OpenGL/glext.cpp

    r3515 r3516  
    4141    int rc;
    4242
     43    if (fInitialized)
     44        return VINF_SUCCESS;
     45
    4346    memset(&parms, 0, sizeof(parms));
    4447    VBOX_INIT_CALL(&parms.hdr, GLGETSTRING, pCtx);
     
    5659    {
    5760        DbgPrintf(("GL_EXTENSIONS failed with %x %x\n", rc, parms.hdr.result));
    58         return FALSE;
     61        return (rc == VINF_SUCCESS) ? parms.hdr.result : rc;
    5962    }
    6063    DbgPrintf(("GL_EXTENSIONS=%s\n\n", szOpenGLExtensions));
    61 
    62     if (fInitialized)
    63         return VINF_SUCCESS;
    6464
    6565    pszExtensions = strdup(szOpenGLExtensions);
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