diff options
author | Even Oscar Andersen <even.oscar.andersen@qt.io> | 2024-04-17 12:52:47 +0200 |
---|---|---|
committer | Even Oscar Andersen <even.oscar.andersen@qt.io> | 2024-04-19 12:39:01 +0200 |
commit | 793f81b1c67b87b49d7f519902e2049ba19e4c18 (patch) | |
tree | 36b2cb48268a24b480e8dce1d4cfe5cdfdf52432 /tools/qmljsrootgen/main.cpp | |
parent | 9c9a4558fa7ce67eb89249405a3afb5dc5ccad9b (diff) |
Set correct shader version for CustomRenderNode example
The custom rendernode example uses the default GLSL which is:
"100es,120,150". The problem with this is that gl_VertexId only
exists in OpenGL ES 3.00 or later, and GLSL 1.30 and later
end result is that the shader compiles but does not run.
Change-Id: I1ac18e381b1e8b28368f67e4140f4bb43bb17e62
Reviewed-by: Laszlo Agocs <laszlo.agocs@qt.io>
Diffstat (limited to 'tools/qmljsrootgen/main.cpp')
0 files changed, 0 insertions, 0 deletions