112 glBlendFunc(GL_SRC_ALPHA,GL_ONE_MINUS_SRC_ALPHA);
113 glEnable(GL_TEXTURE_2D);
114 glTexEnvf (GL_TEXTURE_ENV, GL_TEXTURE_ENV_MODE, GL_MODULATE);
115 glBindTexture(GL_TEXTURE_2D, f.
tex->
id);
117 glTexCoord2d(0.0f, 1.0f);glVertex3d(x,y,
z);
118 glTexCoord2d(1.0f, 1.0f);glVertex3d(x+w,y,
z);
119 glTexCoord2d(1.0f, 0.0f);glVertex3d(x+w,y+h,
z);
120 glTexCoord2d(0.0f, 0.0f);glVertex3d(x,y+h,
z);
123 glDisable(GL_TEXTURE_2D);
glCompFont glNewFont(glCompSet *s, char *text, glCompColor *c, char *fontdesc, int fs, bool is2D)
glCompTex * glCompSetAddNewTexLabel(glCompSet *s, char *def, int fs, char *text, bool is2D)
void glCompDeleteTexture(glCompTex *t)