mirror of
https://github.com/opencv/opencv.git
synced 2026-07-29 23:33:05 +04:00
drawing: workaround MSVC2010 32-bit compiler bug
This commit is contained in:
@@ -1185,8 +1185,12 @@ FillConvexPoly( Mat& img, const Point2l* v, int npts, const void* color, int lin
|
||||
edges--;
|
||||
}
|
||||
|
||||
xs <<= XY_SHIFT - shift;
|
||||
xe = v[idx].x << (XY_SHIFT - shift);
|
||||
xe = v[idx].x;
|
||||
if (XY_SHIFT - shift != 0)
|
||||
{
|
||||
xs <<= XY_SHIFT - shift;
|
||||
xe <<= XY_SHIFT - shift;
|
||||
}
|
||||
|
||||
/* no more edges */
|
||||
if( y >= ty)
|
||||
|
||||
Reference in New Issue
Block a user