Commit 63496d25 authored by Erik Faye-Lund 's avatar Erik Faye-Lund 💬 Committed by Marge Bot
Browse files

docs: use code-block for glsl

Reviewed-by: Emma Anholt's avatarEric Anholt <>
Part-of: <!10281>
parent 54ad6f91
......@@ -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);
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment