summaryrefslogtreecommitdiffhomepage
path: root/examples/text/text_ttf_loading.c
diff options
context:
space:
mode:
authorRay <[email protected]>2019-05-27 00:18:15 +0200
committerRay <[email protected]>2019-05-27 00:18:15 +0200
commit87774a0a21f8d2998b4dc13e989005270476ae92 (patch)
tree4228376c752b1760be44cc8582725ecac522939b /examples/text/text_ttf_loading.c
parent241c4c8d14225bdf30c168802d4b16b59d5043e0 (diff)
downloadraylib-87774a0a21f8d2998b4dc13e989005270476ae92.tar.gz
raylib-87774a0a21f8d2998b4dc13e989005270476ae92.zip
Review variables initialization
Diffstat (limited to 'examples/text/text_ttf_loading.c')
-rw-r--r--examples/text/text_ttf_loading.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/text/text_ttf_loading.c b/examples/text/text_ttf_loading.c
index cc59417d..b256bd1d 100644
--- a/examples/text/text_ttf_loading.c
+++ b/examples/text/text_ttf_loading.c
@@ -33,7 +33,7 @@ int main(void)
float fontSize = font.baseSize;
Vector2 fontPosition = { 40, screenHeight/2 - 80 };
- Vector2 textSize;
+ Vector2 textSize = { 0.0f, 0.0f };
// Setup texture scaling filter
SetTextureFilter(font.texture, FILTER_POINT);