Commit 6a144970 authored by IOhannes m zmölnig's avatar IOhannes m zmölnig
Browse files

filmDS: fixed colorspace

parent 0ec0d164
......@@ -1094,10 +1094,10 @@ MARK();
MARK_HR(hr);
switch (pixelFormat) {
case GEM_RGB:
pixels.fromRGB(ptrBuffer);
pixels.fromBGR(ptrBuffer);
break;
case GEM_RGBA:
pixels.fromRGBA(ptrBuffer);
pixels.fromBGRA(ptrBuffer);
break;
}
img.convertFrom(&pixels);
......
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