projects
/
xscreensaver
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
From http://www.jwz.org/xscreensaver/xscreensaver-5.31.tar.gz
[xscreensaver]
/
hacks
/
glx
/
glsnake.c
diff --git
a/hacks/glx/glsnake.c
b/hacks/glx/glsnake.c
index 2117a93889529911070e23ae08ac47baca399dd6..094b12a0c4fd0459d1417c26529d7986c98b54b5 100644
(file)
--- a/
hacks/glx/glsnake.c
+++ b/
hacks/glx/glsnake.c
@@
-149,15
+149,14
@@
static GLfloat angvel;
#define DEFAULTS "*delay: 30000 \n" \
"*count: 30 \n" \
"*showFPS: False \n" \
#define DEFAULTS "*delay: 30000 \n" \
"*count: 30 \n" \
"*showFPS: False \n" \
- "*labelfont: -*-helvetica-medium-r-normal-*-180-*\n" \
-
+ "*labelfont: -*-helvetica-medium-r-normal-*-*-180-*-*-*-*-*-*\n" \
#undef countof
#define countof(x) (sizeof((x))/sizeof((*x)))
#include "xlockmore.h"
#undef countof
#define countof(x) (sizeof((x))/sizeof((*x)))
#include "xlockmore.h"
-#include "
glxfonts
.h"
+#include "
texfont
.h"
static XrmOptionDescRec opts[] = {
{ "-explode", ".explode", XrmoptionSepArg, DEF_EXPLODE },
static XrmOptionDescRec opts[] = {
{ "-explode", ".explode", XrmoptionSepArg, DEF_EXPLODE },
@@
-1733,10
+1732,9
@@
static void draw_title(
glutBitmapCharacter(GLUT_BITMAP_HELVETICA_12, s[i++]);
}
#else
glutBitmapCharacter(GLUT_BITMAP_HELVETICA_12, s[i++]);
}
#else
- print_gl_string(mi->dpy, bp->font_data,
- mi->xgwa.width, mi->xgwa.height,
- 10.0, (float) mi->xgwa.height - 10.0,
- s, False);
+ print_texture_label (mi->dpy, bp->font_data,
+ mi->xgwa.width, mi->xgwa.height,
+ 1, s);
#endif
}
glPopMatrix();
#endif
}
glPopMatrix();