Skip to content

platforms/drm: fix mistake in DrmGbmBuffer

Xaver Hugl requested to merge work/fix-drmModeAddFb into master

When gbm_bo_get_handle_for_plane isn't supported or doesn't work we'd be passing the buffer format as its handle to drmModeAddFB(2).

We shouldn't really hit this code-path anywhere with anywhere near up to date Mesa but if we do it's really bad

Merge request reports