aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/mesa/drivers/dri/i965/brw_context.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_context.c b/src/mesa/drivers/dri/i965/brw_context.c
index 0b9d2a05bf6..f939463539c 100644
--- a/src/mesa/drivers/dri/i965/brw_context.c
+++ b/src/mesa/drivers/dri/i965/brw_context.c
@@ -795,8 +795,7 @@ brw_initialize_context_constants(struct brw_context *brw)
}
/* ARB_viewport_array, OES_viewport_array */
- if ((brw->gen >= 6 && ctx->API == API_OPENGL_CORE) ||
- (brw->gen >= 8 && ctx->API == API_OPENGLES2)) {
+ if (brw->gen >= 6) {
ctx->Const.MaxViewports = GEN6_NUM_VIEWPORTS;
ctx->Const.ViewportSubpixelBits = 0;