added B_RGBA15 colorspace, and explicitly print which colorspce is unsupported
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23938 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
cad9eceb7a
commit
a0c4a29faf
|
@ -657,7 +657,8 @@ HWInterface::_CopyToFront(uint8* src, uint32 srcBPR,
|
|||
}
|
||||
break;
|
||||
}
|
||||
case B_RGB15: {
|
||||
case B_RGB15:
|
||||
case B_RGBA15: {
|
||||
// offset to left top pixel in dest buffer
|
||||
dst += y * dstBPR + x * 2;
|
||||
int32 left = x;
|
||||
|
@ -774,7 +775,7 @@ HWInterface::_CopyToFront(uint8* src, uint32 srcBPR,
|
|||
break;
|
||||
|
||||
default:
|
||||
fprintf(stderr, "HWInterface::CopyBackToFront() - unsupported front buffer format!\n");
|
||||
fprintf(stderr, "HWInterface::CopyBackToFront() - unsupported front buffer format! (0x%lx)\n", frontBuffer->ColorSpace());
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue