diff options
-rw-r--r-- | src/mesa/drivers/dri/i965/intel_fbo.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/i965/intel_fbo.c b/src/mesa/drivers/dri/i965/intel_fbo.c index cb2ee8b3d25..de0cd6aca2f 100644 --- a/src/mesa/drivers/dri/i965/intel_fbo.c +++ b/src/mesa/drivers/dri/i965/intel_fbo.c @@ -540,7 +540,7 @@ intel_renderbuffer_update_wrapper(struct brw_context *brw, switch (mt->msaa_layout) { case INTEL_MSAA_LAYOUT_UMS: case INTEL_MSAA_LAYOUT_CMS: - layer_multiplier = mt->num_samples; + layer_multiplier = MAX2(mt->num_samples, 1); break; default: |