/[hegemonie]/hegemonie/Interface/UiText.m
ViewVC logotype

Diff of /hegemonie/Interface/UiText.m

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.6 by zaral, Mon Jun 30 16:17:52 2003 UTC revision 1.7 by zaral, Thu Jul 17 10:48:07 2003 UTC
# Line 246  _map_texture (const FT_Bitmap *bitmap) Line 246  _map_texture (const FT_Bitmap *bitmap)
246    glPixelStorei (GL_UNPACK_ALIGNMENT, 1);    glPixelStorei (GL_UNPACK_ALIGNMENT, 1);
247    glTexParameterf (GL_TEXTURE_2D, GL_TEXTURE_MIN_FILTER, GL_LINEAR);    glTexParameterf (GL_TEXTURE_2D, GL_TEXTURE_MIN_FILTER, GL_LINEAR);
248    
249      glBindTexture (GL_TEXTURE_2D, 0);
250    glTexImage2D (GL_TEXTURE_2D, 0, GL_ALPHA,    glTexImage2D (GL_TEXTURE_2D, 0, GL_ALPHA,
251                  _texture_size (bitmap->width),                  _texture_size (bitmap->width),
252                  _texture_size (bitmap->rows), 0,                  _texture_size (bitmap->rows), 0,

Legend:
Removed from v.1.6  
changed lines
  Added in v.1.7

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26