summaryrefslogtreecommitdiffstats
path: root/src/gallium
diff options
context:
space:
mode:
Diffstat (limited to 'src/gallium')
-rw-r--r--src/gallium/drivers/llvmpipe/lp_setup.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/llvmpipe/lp_setup.c b/src/gallium/drivers/llvmpipe/lp_setup.c
index 5fde01fa13b..c8199b496f9 100644
--- a/src/gallium/drivers/llvmpipe/lp_setup.c
+++ b/src/gallium/drivers/llvmpipe/lp_setup.c
@@ -1015,7 +1015,7 @@ try_update_scene_state( struct lp_setup_context *setup )
* To cope with this problem we check if triangles are large and
* subdivide them if needed.
*/
- setup->subdivide_large_triangles = (setup->fb.width > 2048 &&
+ setup->subdivide_large_triangles = (setup->fb.width > 2048 ||
setup->fb.height > 2048);
}