@Mythros :
think I will do otherwise in future versions
(in my opinion multi-layered is greedy and limited in number of textures)
@ Kukulkan:
Strange, someone else had the problem on the next line (startdrawing...)
(you can however operate the code by avoiding the menu and "DisplayTransparentSprite" in "affiche3d' procedure)
With the Intel HD graphics 4000 (Mac Mini) the performance is no longer sufficient under macOS (OpenGL), in the VM Windows 7 it still runs (DirectX) and subsystem OpenGL it crashes.
Under VM-Linux Ubuntu 1810 (OpenGL) it doesn't work anymore.
Let's see if it runs when I allocate more graphics memory to the VM´s.
it dosen't work for me at all.
If i run it with the IDE a empty window comes up and thats it. I can wait as long as i want, the window is empty and can't be shown (i can see it only in the status bar of windows as a icon.)
If i create e exe and start this one, also a empty window comes up for few seconds and close after that.
May it has some thing to do with my hardware setup. I work currently on a laptop with external monitor as extended screen.
There are two grafic cards in the laptop (one is a Intel and one is a AMD).
Maybe it will a good idear to show some setupwindow first and let the user select the Monitor (if there are more than one monitor is connected to the PC).
Thank you.
[UPDATE]
after i wait a longer time (start from IDE) it works very well.
But the created exe file don't work. After i start it, the windows is there for few seconds and will be closed after thet few seconds.