diff options
author | Antony Riakiotakis <kalast@gmail.com> | 2015-02-12 21:39:10 +0300 |
---|---|---|
committer | Antony Riakiotakis <kalast@gmail.com> | 2015-02-12 21:39:10 +0300 |
commit | 090623c6b67a4c5af531fa9df175b89a46b4c32d (patch) | |
tree | 2fdf31389646fbaa7c9a47858dec314a7f571557 /source | |
parent | f20fa24ba18793799f6864d7223107012a5912c7 (diff) |
Revert "Add missing trailing '}' in GLSL files"
This reverts commit ebd4a6e0dd3bdd511f3857dc9192df848f388200.
Trailing '}' is added in C, also we add some extra code as needed.
Diffstat (limited to 'source')
-rw-r--r-- | source/blender/gpu/shaders/gpu_shader_vertex.glsl | 2 | ||||
-rw-r--r-- | source/blender/gpu/shaders/gpu_shader_vertex_world.glsl | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/gpu/shaders/gpu_shader_vertex.glsl b/source/blender/gpu/shaders/gpu_shader_vertex.glsl index 90414ea9f2c..b5d8dcc0f35 100644 --- a/source/blender/gpu/shaders/gpu_shader_vertex.glsl +++ b/source/blender/gpu/shaders/gpu_shader_vertex.glsl @@ -23,4 +23,4 @@ void main() // graphic cards, while on ATI it can cause a software fallback. gl_ClipVertex = co; #endif -} + diff --git a/source/blender/gpu/shaders/gpu_shader_vertex_world.glsl b/source/blender/gpu/shaders/gpu_shader_vertex_world.glsl index ecc4efbeaa0..9dbcaeb7a32 100644 --- a/source/blender/gpu/shaders/gpu_shader_vertex_world.glsl +++ b/source/blender/gpu/shaders/gpu_shader_vertex_world.glsl @@ -10,4 +10,4 @@ void main() varposition = gl_Vertex.xyz; varnormal = normalize(-varposition); -} + |