It can't work if the framebuffer is mapped per-application. Instead, use the accelerant hook to get the framebuffer. The BScreen methods this disables were deprecated and marked private already, so no Haiku applications should be affected. (If really necessary they could be reimplemented with BWindowScreen.) Remove first _GetCardInfo in BWindowScreen; we invoke it later, closer to where the buffer is actually used. Tested with ParticlesII (which uses BWindowScreen) on VESA with the new user-only-mapping accelerant. Change-Id: I405bcfa8cb1eb2d0c346fafbc6233bef15196134 Reviewed-on: https://review.haiku-os.org/c/haiku/+/10572 Tested-by: Commit checker robot <[email protected]> Reviewed-by: waddlesplash <[email protected]>