Changeset 62814 in vbox for trunk/src/VBox/GuestHost/OpenGL/util/blitter.cpp
- Timestamp:
- Aug 1, 2016 12:51:52 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/GuestHost/OpenGL/util/blitter.cpp
r62492 r62814 193 193 } 194 194 195 if ( srcX >= pSrc->width)195 if ((GLuint)srcX >= pSrc->width) 196 196 { 197 197 WARN(("ups")); … … 199 199 } 200 200 201 if ( srcY >= pSrc->height)201 if ((GLuint)srcY >= pSrc->height) 202 202 { 203 203 WARN(("ups")); … … 218 218 int32_t UnscaledSrcHeight = UnscaledCopyRect.yBottom - UnscaledCopyRect.yTop; 219 219 220 if (UnscaledSrcWidth + srcX > pSrc->width)220 if (UnscaledSrcWidth + srcX > (GLint)pSrc->width) 221 221 UnscaledSrcWidth = pSrc->width - srcX; 222 222 223 if (UnscaledSrcHeight + srcY > pSrc->height)223 if (UnscaledSrcHeight + srcY > (GLint)pSrc->height) 224 224 UnscaledSrcHeight = pSrc->height - srcY; 225 225
Note:
See TracChangeset
for help on using the changeset viewer.