summaryrefslogtreecommitdiffhomepage
path: root/examples/text
diff options
context:
space:
mode:
Diffstat (limited to 'examples/text')
-rw-r--r--examples/text/text_draw_3d.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/examples/text/text_draw_3d.c b/examples/text/text_draw_3d.c
index 70143dcd..f03ad784 100644
--- a/examples/text/text_draw_3d.c
+++ b/examples/text/text_draw_3d.c
@@ -141,6 +141,8 @@ int main(void)
{
// Update
//----------------------------------------------------------------------------------
+ UpdateCamera(&camera);
+
// Handle font files dropped
if (IsFileDropped())
{
@@ -265,7 +267,6 @@ int main(void)
// Measure 3D text so we can center it
tbox = MeasureTextWave3D(font, text, fontSize, fontSpacing, lineSpacing);
- UpdateCamera(&camera); // Update camera
quads = 0; // Reset quad counter
time += GetFrameTime(); // Update timer needed by `DrawTextWave3D()`
//----------------------------------------------------------------------------------