From 53df6e8c3bd7025883b9614a549fbf268c110b74 Mon Sep 17 00:00:00 2001 From: Markus Wick Date: Tue, 18 Mar 2014 09:42:51 +0100 Subject: glamor: Update GL requirements to 2.1. We will never ever run on OpenGL 1.2 as we use shaders everywhere. 2.0 may be enough, but we also often use PBOs and our big shaders won't fit into the first GLSL limits. Signed-off-by: Eric Anholt Reviewed-by: Eric Anholt --- glamor/glamor.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'glamor') diff --git a/glamor/glamor.c b/glamor/glamor.c index ef969e29e..eb1343036 100644 --- a/glamor/glamor.c +++ b/glamor/glamor.c @@ -357,8 +357,8 @@ glamor_init(ScreenPtr screen, unsigned int flags) * Windows with Intel 4-series (G45) graphics or older. */ if (glamor_priv->gl_flavor == GLAMOR_GL_DESKTOP) { - if (gl_version < 13) { - ErrorF("Require OpenGL version 1.3 or later.\n"); + if (gl_version < 21) { + ErrorF("Require OpenGL version 2.1 or later.\n"); goto fail; } } else { -- cgit v1.2.3