diff options
author | Rémi Verschelde <rverschelde@gmail.com> | 2019-03-12 00:26:56 +0100 |
---|---|---|
committer | Rémi Verschelde <rverschelde@gmail.com> | 2019-03-12 00:26:56 +0100 |
commit | 3ebde6fac3fac514a0ef2a2e339743992b14fb32 (patch) | |
tree | 0926f5626f5efc199ad79a7d5f0a93f7670870de | |
parent | 7452f5c619fd5daffce6e2b95f80cce6ed875f83 (diff) |
GLES2: Fix comments in previous commit that broke rendering (!)
Do NOT use "[vertex]" in a comment...
Kids, don't try to learn OpenGL on a production branch right before
a stable release.
-rw-r--r-- | drivers/gles2/shaders/canvas.glsl | 2 | ||||
-rw-r--r-- | drivers/gles2/shaders/cubemap_filter.glsl | 2 | ||||
-rw-r--r-- | drivers/gles2/shaders/scene.glsl | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/drivers/gles2/shaders/canvas.glsl b/drivers/gles2/shaders/canvas.glsl index a2c14cd3d2..7ba2856216 100644 --- a/drivers/gles2/shaders/canvas.glsl +++ b/drivers/gles2/shaders/canvas.glsl @@ -221,7 +221,7 @@ VERTEX_SHADER_CODE [fragment] // texture2DLodEXT and textureCubeLodEXT are fragment shader specific. -// Do not copy these defines in the [vertex] section. +// Do not copy these defines in the vertex section. #ifndef USE_GLES_OVER_GL #ifdef GL_EXT_shader_texture_lod #extension GL_EXT_shader_texture_lod : enable diff --git a/drivers/gles2/shaders/cubemap_filter.glsl b/drivers/gles2/shaders/cubemap_filter.glsl index 19fd62253f..db3d8b3a1b 100644 --- a/drivers/gles2/shaders/cubemap_filter.glsl +++ b/drivers/gles2/shaders/cubemap_filter.glsl @@ -26,7 +26,7 @@ void main() { [fragment] // texture2DLodEXT and textureCubeLodEXT are fragment shader specific. -// Do not copy these defines in the [vertex] section. +// Do not copy these defines in the vertex section. #ifndef USE_GLES_OVER_GL #ifdef GL_EXT_shader_texture_lod #extension GL_EXT_shader_texture_lod : enable diff --git a/drivers/gles2/shaders/scene.glsl b/drivers/gles2/shaders/scene.glsl index 4a1e2a65e3..7e59b63935 100644 --- a/drivers/gles2/shaders/scene.glsl +++ b/drivers/gles2/shaders/scene.glsl @@ -676,7 +676,7 @@ VERTEX_SHADER_CODE [fragment] // texture2DLodEXT and textureCubeLodEXT are fragment shader specific. -// Do not copy these defines in the [vertex] section. +// Do not copy these defines in the vertex section. #ifndef USE_GLES_OVER_GL #ifdef GL_EXT_shader_texture_lod #extension GL_EXT_shader_texture_lod : enable |