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>
This commit is contained in:
parent
15d36444ac
commit
53df6e8c3b
|
@ -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 {
|
||||
|
|
Loading…
Reference in New Issue
Block a user