Skip to content

Commit 85b08db

Browse files
committed
added void keyword to code listing
1 parent 8915c59 commit 85b08db

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

content/static/tutorials/pshader/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -261,7 +261,7 @@ <h3>Types of shaders in Processing</h3>
261261
</p>
262262

263263
<pre>
264-
<span style="color: #006699;"><b>draw</b></span>() {
264+
<span style="color: #996633;">void</span> <span style="color: #006699;"><b>draw</b></span>() {
265265
&nbsp;&nbsp;<span style="color: #006699;">shader</span>(pointShader, <span style="color: #666666;">POINTS</span>);
266266
&nbsp;&nbsp;<span style="color: #006699;">shader</span>(lineShader, <span style="color: #666666;">LINES</span>);
267267
&nbsp;&nbsp;<span style="color: #006699;">shader</span>(polyShader); <span style="color: #7E7E7E;">// same as shader(polyShader, TRIANGLE);</span>

0 commit comments

Comments
 (0)