mirror of
https://github.com/kasmtech/KasmVNC.git
synced 2024-11-21 23:53:24 +01:00
KASM-4151 copying over fixes from gnome_blank branch
This commit is contained in:
parent
32a9b354b9
commit
9aa33f1900
@ -219,9 +219,14 @@ void xvnc_sync_dri3_pixmap(PixmapPtr pixmap)
|
||||
void *ptr;
|
||||
uint32_t stride, w, h;
|
||||
void *opaque = NULL;
|
||||
|
||||
// We may not be running on hw if there's a compositor using PRESENT on llvmpipe
|
||||
if (!driNode)
|
||||
return;
|
||||
|
||||
gbm_pixmap *gp = gbm_pixmap_get(pixmap);
|
||||
if (!gp) {
|
||||
ErrorF("Present tried to copy from a non-dri3 pixmap\n");
|
||||
//ErrorF("Present tried to copy from a non-dri3 pixmap\n");
|
||||
return;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user