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

Diff of /hegemonie/Interface/UiImage.m

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

revision 1.6 by zaral, Thu Jul 24 14:14:48 2003 UTC revision 1.7 by dam, Sun Jul 27 16:24:20 2003 UTC
# Line 67  Line 67 
67  {  {
68    NSSize size = [self size];    NSSize size = [self size];
69    
70      glBlendFunc (GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA);
71    
72      glEnable (GL_BLEND);
73    glEnable (GL_TEXTURE_2D);    glEnable (GL_TEXTURE_2D);
74    
75    glBindTexture (GL_TEXTURE_2D, _texture);    glBindTexture (GL_TEXTURE_2D, _texture);
76    
77    glColor3f (1.0f, 1.0f, 1.0f);    glColor3f (1.0f, 1.0f, 1.0f);
# Line 80  Line 84 
84    glEnd ();    glEnd ();
85    
86    glDisable (GL_TEXTURE_2D);    glDisable (GL_TEXTURE_2D);
87      glDisable (GL_BLEND);
88  }  }
89    
90  - (void) dealloc  - (void) dealloc

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