Changeset 28198 in vbox for trunk/src/VBox
- Timestamp:
- Apr 12, 2010 12:02:48 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/HostServices/SharedOpenGL/crserverlib/server_muralfbo.c
r28197 r28198 275 275 char *pixels, *tmppixels, *pSrc, *pDst; 276 276 GLuint uid; 277 int i, j, r owsize, rowstride, height;277 int i, j, realrowsize, rowsize, rowstride, height; 278 278 CRrecti rect; 279 279 CRContext *ctx = crStateGetCurrent(); … … 298 298 { 299 299 rowsize = 4*RT_ALIGN_Z(rect.x2-rect.x1, 4); 300 realrowsize = 4*(rect.x2-rect.x1); 300 301 tmppixels = crAlloc(rowsize*(rect.y2-rect.y1)); 302 301 303 if (!tmppixels) 302 304 { … … 313 315 for (j=0; j<height; ++j) 314 316 { 315 crMemcpy(pDst, pSrc, r owsize);317 crMemcpy(pDst, pSrc, realrowsize); 316 318 317 319 pSrc -= rowstride;
Note:
See TracChangeset
for help on using the changeset viewer.