mirror of
https://gitlab.freedesktop.org/xorg/xserver.git
synced 2025-12-20 17:30:02 +01:00
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
1 changed files with 2 additions and 2 deletions
|
|
@ -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…
Add table
Reference in a new issue