diff options
author | José Fonseca <[email protected]> | 2010-08-26 12:08:56 +0100 |
---|---|---|
committer | Keith Whitwell <[email protected]> | 2010-09-07 14:02:29 +0100 |
commit | 9cd45b8edf520ccedbc4417dc71dee1556455e91 (patch) | |
tree | 27cc3eb0ec759aef5bbc00677827c159c87a8a3c /src/gallium/drivers/llvmpipe/lp_scene.c | |
parent | 9df8a7565db608eaccf917632bf6c702203531b8 (diff) |
llvmpipe: Fix negated logic in lp_scene_add_resource_reference().
Fixes performance regression.
Diffstat (limited to 'src/gallium/drivers/llvmpipe/lp_scene.c')
-rw-r--r-- | src/gallium/drivers/llvmpipe/lp_scene.c | 2 |
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; |