Explorar el Código

Update screen-reading_shaders.rst

Removed an unnecessary "}"
Tim Krief hace 5 años
padre
commit
d2bdbb464f
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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);
     }