I'll take a look at your patch tomorrow (still on vacation). The glBitmap path shouldn't need any changes. The bitmap cache/texture should already be a POT size.
-Brian On Sat, Jul 25, 2009 at 5:07 PM, Patrice Mandin<[email protected]> wrote: > Le Sat, 25 Jul 2009 21:09:40 +0200 > Patrice Mandin <[email protected]> a écrit: > >> glCopyPixels() and glDrawPixels() in >> src/mesa/state_tracker/st_cb_drawpixels.c >> create a temporary texture to do their work, however they do not check >> if the pipe backend support NPOT textures or not, and so proper >> rendering fails on hardware that only support POT sized textures. > > Here is my current patch. I will commit in a few days if I do not have > time to check for glBitmap in the mean time. > > -- > Patrice Mandin > WWW: http://pmandin.atari.org/ > Programmeur Linux, Atari > Spécialité: Développement, jeux > > > ------------------------------------------------------------------------------ > > _______________________________________________ > Mesa3d-dev mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/mesa3d-dev > > ------------------------------------------------------------------------------ _______________________________________________ Mesa3d-dev mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/mesa3d-dev
