mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-10 08:10:14 +01:00
llvmpipe: Fix negated logic in lp_scene_add_resource_reference().
Fixes performance regression.
This commit is contained in:
parent
9df8a7565d
commit
9cd45b8edf
1 changed files with 1 additions and 1 deletions
|
|
@ -381,7 +381,7 @@ add_new_ref:
|
|||
* data.
|
||||
*/
|
||||
if (!initializing_scene &&
|
||||
scene->resource_reference_size < LP_SCENE_MAX_RESOURCE_SIZE)
|
||||
scene->resource_reference_size >= LP_SCENE_MAX_RESOURCE_SIZE)
|
||||
return FALSE;
|
||||
|
||||
return TRUE;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue