Re: [AD] POT hack for OpenGL driver

[ Thread Index | Date Index | More lists.liballeg.org/allegro-developers Archives ]


On Mon, 03 Mar 2008 13:24:25 +0200, Milan Mimica <milan.mimica@xxxxxxxxxx> wrote:

Milan Mimica wrote:
The combination which doesn't work is:
ext_list->ALLEGRO_GL_ARB_texture_non_power_of_two = 0;
ext_list->ALLEGRO_GL_EXT_framebuffer_object = 1;
exnew_membmp is a good example of it. The accelerated text doesn't display properly (in the second part of the example). I couldn't figure you what's wrong.


Do you take into account the different texcoords in GL_EXT_framebuffer_object? IIRC, it integer texcoords in the range [0, width), [0, height), while core NPOT textures use [0.0, 1.0).




Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/