VirtualBox

Changeset 47078 in vbox for trunk/src/VBox/Additions


Ignore:
Timestamp:
Jul 10, 2013 2:28:35 PM (11 years ago)
Author:
vboxsync
Message:

crOpenGL: remove debugging stuff, sigh

File:
1 edited

Legend:

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

    r46343 r47078  
    501501}
    502502
    503 #define CRDBG_BREAK_ENABLE_TEXTURE_2D         0x0001
    504 #define CRDBG_BREAK_DISABLE_TEXTURE_2D        0x0002
    505 #define CRDBG_BREAK_ENABLE_TEXTURE_RECTANGLE  0x0010
    506 #define CRDBG_BREAK_DISABLE_TEXTURE_RECTANGLE 0x0020
    507 
    508 static int g_VDbgBreakEnableDisable = 0x33;
    509 
    510503void PACKSPU_APIENTRY packspu_Enable( GLenum cap )
    511504{
    512505    if (cap!=GL_LIGHT_MODEL_TWO_SIDE)
    513506    {
    514         if (cap == GL_TEXTURE_2D)
    515         {
    516             if (g_VDbgBreakEnableDisable & CRDBG_BREAK_ENABLE_TEXTURE_2D) { RT_BREAKPOINT();}
    517         }
    518         else if (cap == GL_TEXTURE_RECTANGLE_NV)
    519         {
    520             if (g_VDbgBreakEnableDisable & CRDBG_BREAK_ENABLE_TEXTURE_RECTANGLE) { RT_BREAKPOINT();}
    521         }
    522507        crStateEnable(cap);
    523508
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