X-Git-Url: http://git.hungrycats.org/cgi-bin/gitweb.cgi?p=xscreensaver;a=blobdiff_plain;f=hacks%2Fglx%2Ffps-gl.c;h=eb6b6de5fbe4fdfb92ea7c623c7474338cbc3dfd;hp=6020b257ea59e3ca3cec8c2e02264a27fdc6da75;hb=aa75c7476aeaa84cf3abc192b376a8b03c325213;hpb=88cfe534a698a0562e81345957a50714af1453bc diff --git a/hacks/glx/fps-gl.c b/hacks/glx/fps-gl.c index 6020b257..eb6b6de5 100644 --- a/hacks/glx/fps-gl.c +++ b/hacks/glx/fps-gl.c @@ -84,16 +84,11 @@ xlockmore_gl_draw_fps (ModeInfo *mi) XWindowAttributes xgwa; int lines = 1; const char *s; - int y = st->y; XGetWindowAttributes (st->dpy, st->window, &xgwa); for (s = st->string; *s; s++) if (*s == '\n') lines++; - if (y < 0) - y = xgwa.height + y - (lines * data->line_height); - y += lines * data->line_height; - glColor3f (1, 1, 1); print_texture_label (st->dpy, data->texfont, xgwa.width, xgwa.height,