Pārlūkot izejas kodu

Fixes the canvas item vertex example

MrCdK 7 gadi atpakaļ
vecāks
revīzija
3f522f38d2
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  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
 
-    shader_type spatial;
+    shader_type canvas_item;
     render_mode skip_vertex_transform;
 
     void vertex() {