fix buffer size (#331)

This commit is contained in:
Michael Miller
2020-01-13 11:55:48 -08:00
committed by GitHub
parent 253333fa02
commit cb72866555

View File

@@ -148,7 +148,7 @@ public:
operator NeoBufferContext<T_COLOR_FEATURE>()
{
Dirty(); // we assume you are playing with bits
return NeoBufferContext<T_COLOR_FEATURE>(_pixels(), _method.getDataSize());
return NeoBufferContext<T_COLOR_FEATURE>(_pixels(), PixelsSize());
}
void Begin()