Line 131:
Line 131:
</source>
</source>
+
== GX Tips ==
+
=== When your code hangs drawing ===
+
If you find your code hanging as soon as you begin drawing with GX_Begin(), here are a couple of possible causes:
+
# incorrect vertex formats - e.g. if you specify your position format as 3 f32 values and then when you draw, you mistakenly send only 2 f32 values, the Wii will likely hang.
+
# incorrect vertex count - e.g. if you specify you're sending 4 vertices and only send 3, the Wii will likely hang.
[[Category:Development]]
[[Category:Development]]