Browse Source

Merge pull request #1246 from mrcdk/fix_canvas_item_vertex_example

Fixes the canvas item vertex example
Max Hilbrunner 7 years ago
parent
commit
31410d215a
1 changed files with 1 additions and 1 deletions
  1. 1 1
      tutorials/shading/shading_language.rst

+ 1 - 1
tutorials/shading/shading_language.rst

@@ -987,7 +987,7 @@ happen later, though) with the following code, so it can be done manually:
 
 
 .. code-block:: glsl
 .. code-block:: glsl
 
 
-    shader_type spatial;
+    shader_type canvas_item;
     render_mode skip_vertex_transform;
     render_mode skip_vertex_transform;
 
 
     void vertex() {
     void vertex() {