VirtualBox

Changeset 55618 in vbox for trunk/src


Ignore:
Timestamp:
May 3, 2015 2:35:17 PM (10 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
99991
Message:

3D: Additions code: small adjustments.

File:
1 edited

Legend:

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

    r53594 r55618  
    477477 */
    478478    ContextInfo *
    479 stubNewContext( const char *dpyName, GLint visBits, ContextType type,
    480     unsigned long shareCtx
     479stubNewContext(char *dpyName, GLint visBits, ContextType type, unsigned long shareCtx
    481480#if defined(VBOX_WITH_CRHGSMI) && defined(IN_GUEST)
    482481        , struct VBOXUHGSMI *pHgsmi
     
    692691
    693692void
    694 stubGetWindowGeometry(const WindowInfo *window, int *x, int *y,
     693stubGetWindowGeometry(WindowInfo *window, int *x, int *y,
    695694                      unsigned int *w, unsigned int *h )
    696695{
     
    11311130        if (!spuConnection)
    11321131        {
    1133             crWarning("VBoxConCreate failed");
     1132            crError("VBoxConCreate failed");
    11341133            return GL_FALSE;
    11351134        }
     
    13931392
    13941393    context = (ContextInfo *) crHashtableSearch(stub.contextTable, contextId);
    1395 
    1396     CRASSERT(context);
    1397 
    1398     stubDestroyContextLocked(context);
     1394    if (context)
     1395        stubDestroyContextLocked(context);
     1396    else
     1397        crError("No context.");
    13991398
    14001399#ifdef CHROMIUM_THREADSAFE
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