@Hans
No, the FBBindBufferTags() call is:
errCode = context->FBBindBufferTags(NULL, W3DN_FB_COLOR_BUFFER_0, W3DNTag_BitMap, yuv_bm, TAG_END);
if (errCode != W3DNEC_SUCCESS) {
fprintf(stderr, "Failed to bind target bitmap!\nError %u: %s\n",
errCode, IW3DNova->W3DN_GetErrorString(errCode));
goto cleanup;
}
and the BitMap is allocated as:
yuv_bm = IGraphics->AllocBitMapTags(width, height + (height / 2), 8,
BMATags_Friend, screen->RastPort.BitMap,
BMATags_PixelFormat, PIXF_ALPHA8,
BMATags_Displayable, TRUE,
TAG_END);
where screen is a pointer to the default public screen, which is also passed to W3DN_CreateContextTags() using the W3DNTag_Screen tag.