Fixed crash

Previous patch allocated temporarily buffers.
This commit is contained in:
2012-06-01 10:37:38 +00:00
parent 285a24b3e0
commit e9093c7011

View File

@@ -37,7 +37,7 @@ void MemoryProxy::allocate(unsigned int width, unsigned int height)
result.ymin = 0;
result.ymax = height;
buffer = new MemoryBuffer(this, &result);
buffer = new MemoryBuffer(this, 1, &result);
}
void MemoryProxy::free()