mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 05:18:08 +02:00
gallium: fix logic in pb_check_usage()
This commit is contained in:
parent
520dbdea22
commit
93ff702b4f
1 changed files with 1 additions and 1 deletions
|
|
@ -221,7 +221,7 @@ pb_check_alignment(size_t requested, size_t provided)
|
|||
static INLINE boolean
|
||||
pb_check_usage(unsigned requested, unsigned provided)
|
||||
{
|
||||
return (requested & provided) == provided ? TRUE : FALSE;
|
||||
return (requested & provided) == requested ? TRUE : FALSE;
|
||||
}
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue