Update edgeaware_filters_common.cpp
cvx::checkHardwareSupport uses static field to store flags. Using a global static to store the result is dangerous, as the underlying field checkHardwareSupport uses might not be initialized at that time.
Showing
Please
register
or
sign in
to comment