diff --git a/docs/shading.rst b/docs/shading.rst index 7b96e471e16..36d94202f2b 100644 --- a/docs/shading.rst +++ b/docs/shading.rst @@ -115,13 +115,13 @@ Programming Hints - Use the built-in library functions whenever possible. For example, instead of writing this: - :: + .. code-block:: glsl float x = 1.0 / sqrt(y); Write this: - :: + .. code-block:: glsl float x = inversesqrt(y);