-
The version number is taken from the GLSL version requirement, if there is one. This is part of the effort to make version handling more flexible for GLES. v2 (Paul Berry <stereotype441@gmail.com>): use strstr() to check whether a #version directive is already present, in case it isn't at the start of the shader. Reviewed-by: Paul Berry <stereotype441@gmail.com>
fb14b0eb