llvmpipe: Fix negated logic in lp_scene_add_resource_reference().
Fixes performance regression.
This commit is contained in:
committed by
Keith Whitwell
parent
9df8a7565d
commit
9cd45b8edf
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user