1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-05 12:10:55 +00:00

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.
This commit is contained in:
Rémi Verschelde
2019-03-12 00:26:56 +01:00
parent 7452f5c619
commit 3ebde6fac3
3 changed files with 3 additions and 3 deletions

View File

@@ -221,7 +221,7 @@ VERTEX_SHADER_CODE
[fragment] [fragment]
// texture2DLodEXT and textureCubeLodEXT are fragment shader specific. // 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 #ifndef USE_GLES_OVER_GL
#ifdef GL_EXT_shader_texture_lod #ifdef GL_EXT_shader_texture_lod
#extension GL_EXT_shader_texture_lod : enable #extension GL_EXT_shader_texture_lod : enable

View File

@@ -26,7 +26,7 @@ void main() {
[fragment] [fragment]
// texture2DLodEXT and textureCubeLodEXT are fragment shader specific. // 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 #ifndef USE_GLES_OVER_GL
#ifdef GL_EXT_shader_texture_lod #ifdef GL_EXT_shader_texture_lod
#extension GL_EXT_shader_texture_lod : enable #extension GL_EXT_shader_texture_lod : enable

View File

@@ -676,7 +676,7 @@ VERTEX_SHADER_CODE
[fragment] [fragment]
// texture2DLodEXT and textureCubeLodEXT are fragment shader specific. // 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 #ifndef USE_GLES_OVER_GL
#ifdef GL_EXT_shader_texture_lod #ifdef GL_EXT_shader_texture_lod
#extension GL_EXT_shader_texture_lod : enable #extension GL_EXT_shader_texture_lod : enable