summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/gallium/drivers/llvmpipe/lp_scene.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/llvmpipe/lp_scene.c b/src/gallium/drivers/llvmpipe/lp_scene.c
index 54880f2f104..c7e3c597864 100644
--- a/src/gallium/drivers/llvmpipe/lp_scene.c
+++ b/src/gallium/drivers/llvmpipe/lp_scene.c
@@ -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;