| version 1.10 | | version 1.11 |
|---|
| | |
| * Graphical routines for drawing fonts. | | * Graphical routines for drawing fonts. |
| * | | * |
| * $Log$ | | * $Log$ |
| | | * Revision 1.11 1999/10/20 06:22:37 donut |
| | | * use 0 gap for ogl texture fonts handling |
| | | * |
| * Revision 1.10 1999/10/18 07:26:38 donut | | * Revision 1.10 1999/10/18 07:26:38 donut |
| * beginning work on bitblt with source==BM_OGL, fixes squished bitblts, better support for alternate texture formats, support for driver specific hacks, etc | | * beginning work on bitblt with source==BM_OGL, fixes squished bitblts, better support for alternate texture formats, support for driver specific hacks, etc |
| * | | * |
| | |
| char *fp; | | char *fp; |
| // char data[32*32*4]; | | // char data[32*32*4]; |
| char *data; | | char *data; |
| int gap=1; | | int gap=0;//having a gap just wastes ram, since we don't filter text textures at all. |
| // char s[2]; | | // char s[2]; |
| ogl_font_choose_size(font,gap,&tw,&th); | | ogl_font_choose_size(font,gap,&tw,&th); |
| data=malloc(tw*th); | | data=malloc(tw*th); |