SDL and new Thread open two windows

SrMordred via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Fri Sep 1 20:41:47 PDT 2017


Im using SDL2 with derelict, on ubuntu.
Last DMD.

When using spawn or new Thread like :
spawn( (){
   while(true){
     Thread.sleep(500.msecs);
   });

the program open two SDL windows.

Whats going on , and how to prevent this ?



More information about the Digitalmars-d-learn mailing list