mirror of
https://github.com/brl/mutter.git
synced 2024-12-24 20:12:06 +00:00
cursor-renderer/native: Warn when we start falling back on OpenGL
When the driver unexpectedly fails setting the cursor sprite, log a warning that we from now on will use OpenGL.
This commit is contained in:
parent
0d5274b3b7
commit
2392432780
@ -190,6 +190,9 @@ set_crtc_cursor (MetaCursorRendererNative *native,
|
||||
priv->cursor_width, priv->cursor_height,
|
||||
hot_x, hot_y) < 0)
|
||||
{
|
||||
g_warning ("drmModeSetCursor2 failed with (%s), "
|
||||
"drawing cursor with OpenGL from now on",
|
||||
strerror (errno));
|
||||
priv->has_hw_cursor = FALSE;
|
||||
priv->hw_cursor_broken = TRUE;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user