Re: [AD] POT hack for OpenGL driver

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


Peter Wang wrote:
Hi,

Here is a hacky patch to make the OpenGL driver round up textures to the
next power of two.  Actually it does it unconditionally.  I ran into
some trouble checking extensions because they weren't necessarily
available when I wanted to check them.  Anyway, maybe someone who
understands the graphics code can do something with it.

I've commited a fixed patch. Everything works now as far I can tell. There was this obscure bug in draw_quad() which took me some time to find it.


--
Milan Mimica
http://sparklet.sf.net




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