zill wrote: > >I'm still getting a white square which is leading me to believe that there is >something wrong with the FreeType code. I should be able to figure out the >gl code as soon as I can figure out how to get the FreeType to work. I >don't see what I'm doing wrong since I followed the explanation word for >word. But obviously there is something. > > > >David Turner-5 wrote: >> >> what is the result of using: >> >> glTexImage2D(GL_TEXTURE_2D, 0, 1, 30, 30, 0, GL_ALPHA, GL_UNSIGNED_BYTE, >>>> &ft_face->glyph->bitmap);
Should this be &ft_face->glyph->bitmap->buffer? And texture width and height needs to be a power of 2 for GL_TEXTURE_2D target. Othwerwise use texture rectangle extension or something like that. Greetings, Christian _______________________________________________ Freetype-devel mailing list Freetype-devel@nongnu.org http://lists.nongnu.org/mailman/listinfo/freetype-devel