Skip to content
Snippets Groups Projects
Commit 4f6b2427 authored by Martin Storsjö's avatar Martin Storsjö
Browse files

opengl: Fix the ES 1 vs 2 version check


The version string for ES 1 is "OpenGL ES-CM 1.x" or
"OpenGL ES-CL 1.x". For ES 2 it is "OpenGL ES 2.0", while it
seems to be only "3.x" for ES 3.

Since the code is mostly built for either ES 1 or ES 2 (only
Apple support targeting both at the same time, from the same
built object code - but we only use ES 2 on iOS), simplify
this down to a compile time decision.

Signed-off-by: default avatarMartin Storsjö <martin@martin.st>
parent ec037dba
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment