That makes sense. What I need then is just al_get_glyph_region that returns x/y and bitmap of a font glyph so I can draw my own text. I tested this in my game, with both fonts and graphics drawn using al_draw_prim and I've gone from ~12 FPS to 60 in the menu...
On Wed, July 13, 2016 10:59 pm, SiegeLord wrote: > I'm confused about this. The reason why transformations are applied as > they are is so that you can change them in the middle of drawing > multiple bitmaps. Does this change essentially remove that feature? > > Also, it doesn't seem like this completely fixes mixing primitives and > bitmaps, as if there's overlap, wouldn't bitmaps always be drawn over > the primitives even if they're interleaved? > > -SL > > _______________________________________________ > Allegro-developers mailing list > Allegro-developers@gna.org > https://mail.gna.org/listinfo/allegro-developers > _______________________________________________ Allegro-developers mailing list Allegro-developers@gna.org https://mail.gna.org/listinfo/allegro-developers