mirror of
https://github.com/brl/mutter.git
synced 2024-12-27 05:12:15 +00:00
cursor-renderer/native: Remove unused DRM_CAP_CURSOR_{WIDTH,HEIGHT}
Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/2361>
This commit is contained in:
parent
be9deeba09
commit
af7e116b94
@ -57,13 +57,6 @@
|
|||||||
#include "wayland/meta-wayland-buffer.h"
|
#include "wayland/meta-wayland-buffer.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifndef DRM_CAP_CURSOR_WIDTH
|
|
||||||
#define DRM_CAP_CURSOR_WIDTH 0x8
|
|
||||||
#endif
|
|
||||||
#ifndef DRM_CAP_CURSOR_HEIGHT
|
|
||||||
#define DRM_CAP_CURSOR_HEIGHT 0x9
|
|
||||||
#endif
|
|
||||||
|
|
||||||
/* When animating a cursor, we usually call drmModeSetCursor2 once per frame.
|
/* When animating a cursor, we usually call drmModeSetCursor2 once per frame.
|
||||||
* Though, testing shows that we need to triple buffer the cursor buffer in
|
* Though, testing shows that we need to triple buffer the cursor buffer in
|
||||||
* order to avoid glitches when animating the cursor, at least when running on
|
* order to avoid glitches when animating the cursor, at least when running on
|
||||||
|
Loading…
Reference in New Issue
Block a user