screencopy: fixup 10-bit sharing via shm on nvidia

This commit is contained in:
vaxerski
2024-08-23 14:13:43 +02:00
parent f634b9e61a
commit 3b663f4afc
2 changed files with 2 additions and 2 deletions

View File

@@ -245,7 +245,7 @@ bool CToplevelExportFrame::copyShm(timespec* now) {
g_pHyprRenderer->makeEGLCurrent();
CFramebuffer outFB;
outFB.alloc(PMONITOR->vecPixelSize.x, PMONITOR->vecPixelSize.y, g_pHyprRenderer->isNvidia() ? DRM_FORMAT_XBGR8888 : PMONITOR->output->state->state().drmFormat);
outFB.alloc(PMONITOR->vecPixelSize.x, PMONITOR->vecPixelSize.y, PMONITOR->output->state->state().drmFormat);
if (overlayCursor) {
g_pPointerManager->lockSoftwareForMonitor(PMONITOR->self.lock());