mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-20 11:40:10 +01:00
gallium/frontends/dri: Don't force dri cursor buffers to be 64x64
Reviewed-by: Marek Olšák <marek.olsak@amd.com> Signed-off-by: stefan11111 <stefan11111@shitposting.expert> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/38841>
This commit is contained in:
parent
3f37740762
commit
ff8df8712e
1 changed files with 0 additions and 2 deletions
|
|
@ -987,8 +987,6 @@ dri_create_image(struct dri_screen *screen,
|
||||||
if (use & __DRI_IMAGE_USE_LINEAR)
|
if (use & __DRI_IMAGE_USE_LINEAR)
|
||||||
tex_usage |= PIPE_BIND_LINEAR;
|
tex_usage |= PIPE_BIND_LINEAR;
|
||||||
if (use & __DRI_IMAGE_USE_CURSOR) {
|
if (use & __DRI_IMAGE_USE_CURSOR) {
|
||||||
if (width != 64 || height != 64)
|
|
||||||
return NULL;
|
|
||||||
tex_usage |= PIPE_BIND_CURSOR;
|
tex_usage |= PIPE_BIND_CURSOR;
|
||||||
}
|
}
|
||||||
if (use & __DRI_IMAGE_USE_PROTECTED)
|
if (use & __DRI_IMAGE_USE_PROTECTED)
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue