Changeset 59505 in vbox for trunk/src/VBox/Additions/common/crOpenGL
- Timestamp:
- Jan 28, 2016 11:05:54 AM (9 years ago)
- svn:sync-xref-src-repo-rev:
- 105283
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/common/crOpenGL/stub.c
r59193 r59505 525 525 pWindow->cVisibleRegions = cRects; 526 526 527 if (cRects == 0) 528 return GL_TRUE; 529 530 pGLRects = crAlloc(4*cRects*sizeof(GLint)); 527 pGLRects = crAlloc(cRects ? 4*cRects*sizeof(GLint) : 4*sizeof(GLint)); 531 528 if (!pGLRects) 532 529 {
Note:
See TracChangeset
for help on using the changeset viewer.