mirror of
https://github.com/hyprwm/wlroots-hyprland.git
synced 2024-12-23 02:19:49 +01:00
backend/drm: stop testing for buffer in drm_connector_commit_buffer
We now do the test in drm_connector_test, called from drm_connector_commit.
This commit is contained in:
parent
d0bf750916
commit
8ccb4bbb5f
1 changed files with 0 additions and 3 deletions
|
@ -467,9 +467,6 @@ static bool drm_connector_commit_buffer(struct wlr_output *output) {
|
|||
break;
|
||||
case WLR_OUTPUT_STATE_BUFFER_SCANOUT:;
|
||||
struct wlr_buffer *buffer = output->pending.buffer;
|
||||
if (!test_buffer(conn, output->pending.buffer)) {
|
||||
return false;
|
||||
}
|
||||
if (!drm_fb_import(&plane->pending_fb, drm, buffer,
|
||||
&crtc->primary->formats)) {
|
||||
wlr_log(WLR_ERROR, "Failed to import buffer");
|
||||
|
|
Loading…
Reference in a new issue