VirtualBox

Changeset 41928 in vbox for trunk/src/VBox/GuestHost/OpenGL


Ignore:
Timestamp:
Jun 27, 2012 4:06:23 PM (13 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
78793
Message:

crOpenGL: fix shader deletion

Location:
trunk/src/VBox/GuestHost/OpenGL
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/GuestHost/OpenGL/include/cr_error.h

    r40267 r41928  
    4141#  define CR_DDI_PROLOGUE() do { /*if (g_VBoxFbgFBreakDdi) {Assert(0);}*/ } while (0)
    4242# else
    43 #  define CRASSERT( PRED ) ((PRED)?(void)0:crError( "Assertion failed: %s, file %s, line %d", #PRED, __FILE__, __LINE__))
     43#  define CRASSERT( PRED ) ((PRED)?(void)0:crWarning( "Assertion failed: %s, file %s, line %d", #PRED, __FILE__, __LINE__))
    4444#  define CR_DDI_PROLOGUE() do {} while (0)
    4545# endif
  • trunk/src/VBox/GuestHost/OpenGL/state_tracker/state_glsl.c

    r39602 r41928  
    206206{
    207207    CRGLSLProgram *pProgram = crStateGetProgramObj(id);
     208    CRASSERT(!pProgram || pProgram->hwid == id);
    208209    return pProgram ? pProgram->hwid : 0;
    209210}
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