mirror of
https://github.com/hyprwm/aquamarine.git
synced 2024-11-17 08:26:00 +01:00
work
This commit is contained in:
parent
588893c07b
commit
e844282d1d
1 changed files with 1 additions and 1 deletions
|
@ -50,7 +50,7 @@ Aquamarine::CDRMDumbBuffer::CDRMDumbBuffer(const SAllocatorBufferParams& params,
|
||||||
|
|
||||||
data = (uint8_t*)mmap(nullptr, size, PROT_READ | PROT_WRITE, MAP_SHARED, allocator->drmFD(), request2.offset);
|
data = (uint8_t*)mmap(nullptr, size, PROT_READ | PROT_WRITE, MAP_SHARED, allocator->drmFD(), request2.offset);
|
||||||
if (!data) {
|
if (!data) {
|
||||||
allocator->backend->log(AQ_LOG_ERROR, "failed to mmmap a drm_dumb buffer");
|
allocator->backend->log(AQ_LOG_ERROR, "failed to mmap a drm_dumb buffer");
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue