Re: [AD] Fwd: RE: Working on ex_threads, d3d_display_format.cpp, tls.c |
[ Thread Index | Date Index | More lists.liballeg.org/allegro-developers Archives ]
To Edgar: The timing patch I posted was wrong. I’ve tested it a little and it needs to be: old_time = al_get_time() – interval; to account for the accumulated delay. Hopefully that works. Let me know. From: Edgar Reynaldo This message wasn't sent to the mailing list, so I'm forwarding it on.
First of all, Elias can you confirm why you wanted this in TLS? I guess it allows displays to be created in parallel, which might be a tiny advantage, though this should run pretty quickly (instantly?)
But if we do go with a mutex, you can create it in d3d_init_display and destroy it in d3d_shutdown_display in d3d_disp.cpp. Declare it in d3d.h in src/win, not in include/allegro5 anywhere.
From: Edgar Reynaldo
On 8/21/2016 5:55 PM, trent@xxxxxxxxxx wrote:
|
Mail converted by MHonArc 2.6.19+ | http://listengine.tuxfamily.org/ |