[PATCH] Fixing Previous on GNU/Linux (window not repainting)

NeXT Computer, Inc. -> Emulation / Virtualization

Title: [PATCH] Fixing Previous on GNU/Linux (window not repainting)
Post by: mmu_man on October 25, 2016, 12:33:49 PM
Hi,
I discovered Previous this week-end after discussing about a NeXT workstation someone brought to a local retro event (http://www.triplea.fr/microalchimie/).
I tried to build the latest branch (branch_realtime) but it failed to display anything in the window...
I ended up git bisecting the repo until 4am, and found it worked on r585, next dozen revs failed to build, while the next revision that actually compiled had a broken display.
The culprit is SDL_CreateRenderer() is now being called from a different thread than the one that actually calls SDL_RenderPresent().
It seems that those should actually only be called from the main thread anyway, but at least it works this way.
(I'm on Debian Sid)

http://revolf.free.fr/linux/patches/0001-Fix-display-on-GNU-Linux.patch
Title: [PATCH] Fixing Previous on GNU/Linux (window not repainting)
Post by: andreas_g on October 26, 2016, 02:04:45 AM
Hello!

Thank you for the patch. I extended it to the NeXTdimension repaint thread and applied it to the repository. Please test the latest revision (r642) or branch_realtime. It would be interesting for me, if the NeXTdimension screen also repaints correctly now.

Regards,
Andreas
Title: [PATCH] Fixing Previous on GNU/Linux (window not repainting)
Post by: mmu_man on October 26, 2016, 02:45:55 PM
I activated it in the settings, and got the ND indicator on the status bar, and color display worked just fine, so I suppose it works as well :-)

Go to top  Forum index