[AD] Primitives not drawing without glFlush on Intel (Windows 7)

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

When  I'm drawing primitives on this new netbook with Intel graphics (I
think it's when drawing 2+ high level primitives in a row, like rectangles
and triangles), the later drawn primitives sometimes do not show up unless I
call glFlush after drawing all of the primitives. Is there anything that can
be done about it? An example:

al_draw_filled_rectangle(startx, y+1, endx, y+3+(thick ? 1 : 0),
al_draw_filled_rectangle(startx, y+1, startx+length, y+2, darker);
al_draw_filled_rectangle(startx, y+2, startx+length, y+3+(thick ? 1 : 0),
// Don't know why but my netbook needs this
if (al_get_display_flags(engine->get_display()) & ALLEGRO_OPENGL) {

al_draw_tinted_bitmap(left, gauge_hilight_color, x, y, 0);


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