[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [ft-devel] freetype opengl texture

From: Christian Demmer
Subject: Re: [ft-devel] freetype opengl texture
Date: Fri, 10 Aug 2007 19:28:27 +0200

zill wrote:
>FreeType specifically says it should be glyph->bitmap and if I change it, it
>throws all kind of errors at me.

Please check the definition of the bitmap struct. I think Freetype
contains no advice how to load an OpenGL texture. 

>  I changed to the power of two, and it is
>still giving me blank images, not that that would cause that anyways.  Why
>is nothing being stored in the bitmap?

>> Should this be &ft_face->glyph->bitmap->buffer?

Sorry, I missed this typo (C is not my native language :-) the & is
wrong; buffer is a pointer.

Greetings, Christian

reply via email to

[Prev in Thread] Current Thread [Next in Thread]