Create GLES shaders as version 300 if replaying on GL ES 3.0. Refs #1770

This commit is contained in:
baldurk
2020-03-11 18:00:53 +00:00
parent 208a023f12
commit cb94a28768
3 changed files with 19 additions and 10 deletions
+3 -1
View File
@@ -22,7 +22,9 @@
* THE SOFTWARE.
******************************************************************************/
#if defined(OPENGL_CORE)
#if defined(GLES)
#extension GL_OES_sample_variables : require
#elif defined(OPENGL_CORE)
#extension GL_ARB_sample_shading : require
#endif