Changeset 42042 in vbox for trunk/src/VBox/HostServices
- Timestamp:
- Jul 6, 2012 4:41:01 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/HostServices/SharedOpenGL/render/renderspu_cocoa_helper.m
r41913 r42042 79 79 #endif 80 80 81 #ifdef DEBUG_ poetzsch81 #ifdef DEBUG_misha 82 82 # define DEBUG_MSG(text) \ 83 83 printf text … … 1232 1232 } 1233 1233 1234 [self tryDraw]; 1234 if (m_cClipRects) 1235 [self tryDraw]; 1235 1236 #else 1236 1237 [m_pGLCtx flushBuffer]; … … 1259 1260 && (GLuint)drawId == m_FBOAttFrontId)) 1260 1261 m_fFrontDrawing = false; 1261 [self tryDraw]; 1262 if (m_cClipRects) 1263 [self tryDraw]; 1262 1264 } 1263 1265 #endif … … 1270 1272 glFinish(); 1271 1273 #ifdef FBO 1272 if ( [self isCurrentFBO])1274 if (m_cClipRects && [self isCurrentFBO]) 1273 1275 [self tryDraw]; 1274 1276 #endif … … 1570 1572 - (void)setVisibleRegions:(GLint)cRects paRects:(GLint*)paRects 1571 1573 { 1574 GLint cOldRects = m_cClipRects; 1575 1572 1576 DEBUG_MSG_1(("OVIW(%p): setVisibleRegions: cRects=%d\n", (void*)self, cRects)); 1573 1577 … … 1586 1590 memcpy(m_paClipRects, paRects, sizeof(GLint) * 4 * cRects); 1587 1591 } 1588 else 1592 else if (cOldRects) 1589 1593 [self tryDraw]; 1590 1594 }
Note:
See TracChangeset
for help on using the changeset viewer.