Difference for 2d/font.c from version 1.13 to 1.14


version 1.13 version 1.14
Line 18
 
Line 18
  * Graphical routines for drawing fonts.   * Graphical routines for drawing fonts.
  *   *
  * $Log$   * $Log$
    * Revision 1.14  2003/06/27 07:21:07  donut
    * memset ogl font bitmap data since the copy function leaves some (unused) parts uninitialized, which aggrivates valgrind
    *
  * Revision 1.13  2000/02/07 07:47:44  donut   * Revision 1.13  2000/02/07 07:47:44  donut
  * ogl font memleak fix   * ogl font memleak fix
  *   *
Line 1030
 
Line 1033
  // 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);
    memset(data,0,tw*th);
  gr_init_bitmap(&font->ft_parent_bitmap,BM_LINEAR,0,0,tw,th,tw,data);   gr_init_bitmap(&font->ft_parent_bitmap,BM_LINEAR,0,0,tw,th,tw,data);
   
  font->ft_parent_bitmap.gltexture=ogl_get_free_texture();   font->ft_parent_bitmap.gltexture=ogl_get_free_texture();

Legend:
line(s) removed in v.1.13 
line(s) changed
 line(s) added in v.1.14