From e9520c2a5aeab1e5be6b442136091b9040ef09c3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladim=C3=ADr=20Vondru=C5=A1?= Date: Tue, 6 Sep 2022 17:53:27 +0200 Subject: [PATCH] GL: show the actual variable declaration in a doc snippet. To be consistent with what's shown for the async compile. --- doc/snippets/MagnumGL.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/snippets/MagnumGL.cpp b/doc/snippets/MagnumGL.cpp index 59d627381..06adbcf01 100644 --- a/doc/snippets/MagnumGL.cpp +++ b/doc/snippets/MagnumGL.cpp @@ -471,11 +471,11 @@ vert.addFile("MyShader.vert"); #ifndef MAGNUM_TARGET_GLES { -MyShader shader; GL::Mesh mesh; Matrix4 transformation, projection; GL::Texture2D diffuseTexture, specularTexture; /* [AbstractShaderProgram-rendering] */ +MyShader shader; shader.setTransformationMatrix(transformation) .setProjectionMatrix(projection) .bindDiffuseTexture(diffuseTexture)