mirror of
https://github.com/X11Libre/xserver.git
synced 2026-03-24 03:44:06 +00:00
glamor/glamor_egl.c: Fix misplaced #endif
Signed-off-by: stefan11111 <stefan11111@shitposting.expert>
This commit is contained in:
committed by
Enrico Weigelt
parent
8ed09861dc
commit
e2c99a2e93
@@ -436,8 +436,8 @@ glamor_make_pixmap_exportable(PixmapPtr pixmap, Bool modifiers_ok)
|
||||
#ifdef GLAMOR_HAS_GBM_LINEAR
|
||||
(pixmap->usage_hint == CREATE_PIXMAP_USAGE_SHARED ?
|
||||
GBM_BO_USE_LINEAR : 0) |
|
||||
GBM_BO_USE_RENDERING);
|
||||
#endif
|
||||
GBM_BO_USE_RENDERING);
|
||||
#if 0
|
||||
if (bo) {
|
||||
/* TODO: scanout failed, but regular buffer succeeded, maybe log something? */
|
||||
|
||||
Reference in New Issue
Block a user