internal: fix warnings

This commit is contained in:
vaxerski
2023-09-07 16:43:01 +02:00
parent 0be6b03ee9
commit 398e861b55
5 changed files with 6 additions and 7 deletions

View File

@@ -404,7 +404,7 @@ bool CToplevelExportProtocolManager::copyFrameShm(SScreencopyFrame* frame, times
}
// copy pixels
const auto PFORMAT = get_gles2_format_from_drm(format);
const auto PFORMAT = gles2FromDRM(format);
if (!PFORMAT) {
Debug::log(ERR, "[toplevel_export] Cannot read pixels, unsupported format {:x}", (uintptr_t)PFORMAT);
g_pHyprOpenGL->end();