Skip to content

gl: Limit glGetTexLevelParameteriv use to supported platforms

This commit limtis use of glGetTexLevelParameteriv to GL versions which do support it according to specification. This is required to make Flutter apps work on some Mobile Linux platforms like Librem 5.

glGetTexLevelParameteriv is supported for:

  • Desktop GL since 1.0
  • GLES since 3.1

Merge request reports