瀏覽代碼

Merge pull request #2977 from timkrief/patch-1

Update screen-reading_shaders.rst
Hugo Locurcio 5 年之前
父節點
當前提交
e11844538c
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      tutorials/shading/screen-reading_shaders.rst

+ 1 - 1
tutorials/shading/screen-reading_shaders.rst

@@ -27,7 +27,7 @@ the current fragment. As a result, this simple 2D fragment shader:
 
 .. code-block:: glsl
 
-    void fragment() {}
+    void fragment() {
         COLOR = textureLod(SCREEN_TEXTURE, SCREEN_UV, 0.0);
     }