projects
/
xscreensaver
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
http://www.jwz.org/xscreensaver/xscreensaver-5.09.tar.gz
[xscreensaver]
/
hacks
/
glx
/
glxfonts.h
diff --git
a/hacks/glx/glxfonts.h
b/hacks/glx/glxfonts.h
index 75107909af1666e2cd65225988095e273aa66f6a..1bffc54837cfb758e7af1dda5561dc9f2dd462b1 100644
(file)
--- a/
hacks/glx/glxfonts.h
+++ b/
hacks/glx/glxfonts.h
@@
-1,4
+1,4
@@
-/* glxfonts, Copyright (c) 2001-200
8
Jamie Zawinski <jwz@jwz.org>
+/* glxfonts, Copyright (c) 2001-200
9
Jamie Zawinski <jwz@jwz.org>
* Loads X11 fonts for use with OpenGL.
*
* Permission to use, copy, modify, distribute, and sell this software and its
* Loads X11 fonts for use with OpenGL.
*
* Permission to use, copy, modify, distribute, and sell this software and its
@@
-9,12
+9,18
@@
* software for any purpose. It is provided "as is" without express or
* implied warranty.
*
* software for any purpose. It is provided "as is" without express or
* implied warranty.
*
- *
Compute normal vectors for arbitrary triangles
.
+ *
Loads X11 fonts for use with OpenGL
.
*/
#ifndef __GLXFONTS_H__
#define __GLXFONTS_H__
*/
#ifndef __GLXFONTS_H__
#define __GLXFONTS_H__
+/* This is basically the same as glXUseXFont().
+ We have our own version of it for portability.
+ */
+extern void xscreensaver_glXUseXFont (Display *dpy, Font font,
+ int first, int count, int listbase);
+
/* Loads the font named by the X resource "res".
Returns an XFontStruct.
Also converts the font to a set of GL lists and returns the first list.
/* Loads the font named by the X resource "res".
Returns an XFontStruct.
Also converts the font to a set of GL lists and returns the first list.