summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarkus Wick <markus@selfnet.de>2014-03-18 09:42:51 +0100
committerEric Anholt <eric@anholt.net>2014-03-26 12:58:39 -0700
commit53df6e8c3bd7025883b9614a549fbf268c110b74 (patch)
treec16d75e7232ad8059e2d9a2015c164ac3026e798
parent15d36444acc7a2890ade8e320dc16d627a9d2035 (diff)
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 <eric@anholt.net> Reviewed-by: Eric Anholt <eric@anholt.net>
-rw-r--r--glamor/glamor.c4
1 files changed, 2 insertions, 2 deletions
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 {