Changeset 47078 in vbox for trunk/src/VBox/Additions
- Timestamp:
- Jul 10, 2013 2:28:35 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/common/crOpenGL/pack/packspu_client.c
r46343 r47078 501 501 } 502 502 503 #define CRDBG_BREAK_ENABLE_TEXTURE_2D 0x0001504 #define CRDBG_BREAK_DISABLE_TEXTURE_2D 0x0002505 #define CRDBG_BREAK_ENABLE_TEXTURE_RECTANGLE 0x0010506 #define CRDBG_BREAK_DISABLE_TEXTURE_RECTANGLE 0x0020507 508 static int g_VDbgBreakEnableDisable = 0x33;509 510 503 void PACKSPU_APIENTRY packspu_Enable( GLenum cap ) 511 504 { 512 505 if (cap!=GL_LIGHT_MODEL_TWO_SIDE) 513 506 { 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 }522 507 crStateEnable(cap); 523 508
Note:
See TracChangeset
for help on using the changeset viewer.