summaryrefslogtreecommitdiff
path: root/src/cfg_gfx
diff options
context:
space:
mode:
Diffstat (limited to 'src/cfg_gfx')
-rw-r--r--src/cfg_gfx/opengl_font.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cfg_gfx/opengl_font.cxx b/src/cfg_gfx/opengl_font.cxx
index a42b92394..18c0c2b77 100644
--- a/src/cfg_gfx/opengl_font.cxx
+++ b/src/cfg_gfx/opengl_font.cxx
@@ -95,7 +95,7 @@ void Fl_OpenGL_Graphics_Driver::draw(const char *str, int n, int x, int y)
const char *fd = font_data[(int)c];
if (fd) {
char rendering = 0;
- float px, py;
+ float px=0.0f, py=0.0f;
for (;;) {
char cmd = *fd++;
if (cmd==0) {