diff options
author | Mauro Persano <mauro.persano@kdab.com> | 2018-09-22 10:02:01 -0300 |
---|---|---|
committer | Paul Lemire <paul.lemire@kdab.com> | 2018-09-27 12:37:44 +0000 |
commit | dbaf2319dace853ae6c0badd7f46c7631961ad09 (patch) | |
tree | 631b94068bce2f2c5ee8500001948f641a609cf2 | |
parent | 6eb906bf5770370a8a5c15568d9f9463863e53a4 (diff) |
ES3 deprecated gl_FragColor, use output variable instead
Change-Id: I9a6a7ee88db5471a1c4ed88ed13c99d66b764d93
Reviewed-by: Paul Lemire <paul.lemire@kdab.com>
-rw-r--r-- | src/render/materialsystem/prototypes/default.json | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/render/materialsystem/prototypes/default.json b/src/render/materialsystem/prototypes/default.json index 0b971f456..7f196c8df 100644 --- a/src/render/materialsystem/prototypes/default.json +++ b/src/render/materialsystem/prototypes/default.json @@ -120,6 +120,15 @@ }, { "format": { + "api": "OpenGLES", + "major": 3, + "minor": 0 + }, + "substitution": "fragColor = $fragColor;", + "headerSnippets": [ "out highp vec4 fragColor;" ] + }, + { + "format": { "api": "OpenGLCoreProfile", "major": 3, "minor": 0 |