Commit c40718ab authored by Vadim Pisarevsky's avatar Vadim Pisarevsky

fixed bug #2059

parent 634fedc3
......@@ -221,6 +221,18 @@ static const void* initInterTab2D( int method, bool fixpt )
}
static bool initAllInterTab2D()
{
return initInterTab2D( INTER_LINEAR, false ) &&
initInterTab2D( INTER_LINEAR, true ) &&
initInterTab2D( INTER_CUBIC, false ) &&
initInterTab2D( INTER_CUBIC, true ) &&
initInterTab2D( INTER_LANCZOS4, false ) &&
initInterTab2D( INTER_LANCZOS4, true );
}
static volatile bool doInitAllInterTab2D = initAllInterTab2D();
template<typename ST, typename DT> struct Cast
{
typedef ST type1;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment