From ff8df8712ed1656dbae3574c2337faf236f3a9d0 Mon Sep 17 00:00:00 2001 From: stefan11111 Date: Sat, 6 Dec 2025 21:13:57 +0200 Subject: [PATCH] gallium/frontends/dri: Don't force dri cursor buffers to be 64x64 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Reviewed-by: Marek Olšák Signed-off-by: stefan11111 Part-of: --- src/gallium/frontends/dri/dri2.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/gallium/frontends/dri/dri2.c b/src/gallium/frontends/dri/dri2.c index 036fddd338c..96800e89b80 100644 --- a/src/gallium/frontends/dri/dri2.c +++ b/src/gallium/frontends/dri/dri2.c @@ -987,8 +987,6 @@ dri_create_image(struct dri_screen *screen, if (use & __DRI_IMAGE_USE_LINEAR) tex_usage |= PIPE_BIND_LINEAR; if (use & __DRI_IMAGE_USE_CURSOR) { - if (width != 64 || height != 64) - return NULL; tex_usage |= PIPE_BIND_CURSOR; } if (use & __DRI_IMAGE_USE_PROTECTED)