Multiple PgDrawPhImagemx

Hiho,

I am trying to draw multiple images into a widget, but when using
multiple PgDrawPhImagemx calls within one draw buffer, the images
aren’t displayed properly. Even the non-mx calls fail. I have to use
PgFlush after each PgDraw. Is this correct, or what else do I have to
consider?

Thanx for the help,
Sven


Sven Fischer – DEUTA-Werke GmbH, Abteilung EIT
Dipl.-Phys. Paffrather Str. 140, 51465 Bergisch Gladbach, Germany
Tel.: +49-(0)2202-958-216 Fax.: +49-(0)2202-958-145
Please note the disclaimer: http://www.deutaeit.de/disclaimer.html

Sven Fischer wrote:

Hiho,

I am trying to draw multiple images into a widget, but when using
multiple PgDrawPhImagemx calls within one draw buffer, the images
aren’t displayed properly. Even the non-mx calls fail. I have to use
PgFlush after each PgDraw. Is this correct, or what else do I have to
consider?

Have you tried increasing the size of your draw buffer? Try

PgSetDrawBufferSize(0xffff);


Brian


Brian Edmond
QNX Software Systems
briane@qnx.com