Changeset 78264 in vbox for trunk/src/VBox/HostServices/SharedOpenGL
- Timestamp:
- Apr 23, 2019 6:53:43 PM (6 years ago)
- svn:sync-xref-src-repo-rev:
- 130212
- Location:
- trunk/src/VBox/HostServices/SharedOpenGL
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/HostServices/SharedOpenGL/crserverlib/presenter/server_presenter.cpp
r78263 r78264 225 225 float strY = ((float)dstHeight) / srcHeight; 226 226 bool fScale = (dstWidth != srcWidth || dstHeight != srcHeight); 227 Assert(fScale); 227 Assert(fScale); RT_NOREF(fScale); 228 228 229 229 /* 'List' contains the destination rectangles to be updated (in pDst coords). */ -
trunk/src/VBox/HostServices/SharedOpenGL/unpacker/unpack_shaders.cpp
r78193 r78264 453 453 454 454 size_t cchStr = CHECK_STRING_FROM_PTR_UPDATE_NO_RETURN(pState, name); 455 if (RT_UNLIKELY(cchStr == ~(size_t)0 || packet_length != cchStr + 2 * sizeof(CRNetworkPointer)))455 if (RT_UNLIKELY(cchStr == ~(size_t)0U || packet_length != cchStr + 2 * sizeof(CRNetworkPointer))) 456 456 { 457 457 crError("crUnpackExtendGetAttribLocation: packet_length is corrupt"); … … 474 474 475 475 size_t cchStr = CHECK_STRING_FROM_PTR_UPDATE_NO_RETURN(pState, name); 476 if (RT_UNLIKELY(cchStr == ~(size_t)0 || packet_length != cchStr + 2 * sizeof(CRNetworkPointer)))476 if (RT_UNLIKELY(cchStr == ~(size_t)0U || packet_length != cchStr + 2 * sizeof(CRNetworkPointer))) 477 477 { 478 478 crError("crUnpackExtendGetUniformLocation: packet_length is corrupt");
Note:
See TracChangeset
for help on using the changeset viewer.