- Timestamp:
- May 20, 2014 7:23:58 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/common/crOpenGL/pack/packspu_client.c
r51313 r51316 193 193 if (pInfo->idBuffer 194 194 && pInfo->cValues >= cValues 195 && ! memcmp(pValue, &pInfo->Value, cbValue))195 && !crMemcmp(pValue, &pInfo->Value, cbValue)) 196 196 return GL_FALSE; 197 197 … … 206 206 for (i = 0; i < cValues; ++i) 207 207 { 208 memcpy(pu8Buf, pValue, cbValue);208 crMemcpy(pu8Buf, pValue, cbValue); 209 209 pu8Buf += cbValue; 210 210 } … … 230 230 231 231 pInfo->cValues = cValues; 232 memcpy(&pInfo->Value, pValue, cbValue);232 crMemcpy(&pInfo->Value, pValue, cbValue); 233 233 234 234 crFree(pBuffer);
Note:
See TracChangeset
for help on using the changeset viewer.