Graphics & Endgraphics in Linux

Miscellaneous Forums/Linux Discussion/Graphics & Endgraphics in Linux

Running this in Blitzmax 1.10 (all modules updated) on Debian Linux:

Graphics 1024,768
DrawText "first", 10,10
Flip 
Delay 1000
EndGraphics

Graphics 1024,768
DrawText "second", 10, 10
Flip 
Delay 1000
Endgraphics


the first part works, but the second time cannot start graphics and gives the following error:

untitled4.debug: /home/simon/blitzmax/mod/brl.mod/glgraphics.mod/glgraphics.linux.c:288: bbGLGraphicsBeginPaint: Assertion `!_paintContext' failed.

The same code works fine in BMax 1.09.

Anybody can reproduce the problem?

Yup, same here.
I posted a bug report about graphics/endgraphics problems some time ago, still being worked on as I understood.

You can just comment that line out to avoid seeing the error message (build mods again after that).