fix buffer size (#331)

This commit is contained in:
Michael Miller authored and GitHub committed 2020-01-13 11:55:48 -08:00
1 parent 253333fa02
commit cb72866555
1 file changed
+1 -1
+1 -1
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()