Hi Josh,
Thanks for your porting ! I've been working on this plugin for about two weeks and have made some improvements :
- support for Framebuffer objets so the option "Hires framebuffer" now works under linux too (this required also a fix in glide64 itself , since we're still using wonder +, Gonetz told me it has been fixed already in wonder ++ though)
- fixed the vertical offset of the rendering : with SDL it is not necessary to shift vertically the rendering wheither you're in fullscreen or not
- fixed glsl pixel programs for bw textures (in your version Josh, I don't know why two pixel programs are different from the original wrapper code, this was a mistake because it prevented the dynamic shadow in Jet Force Gemini to work normally (this effect requires HWFBO too by the way))
Additionally, I made some fixes in glide64 and the wrapper that apply also to the win32 version :
- now the Lens of Truth works in Zelda Majora's mask, and more generally textures are better converted (the effect was not working in wonder +, and was partially working in wonder ++, but there was a hack for that in glide64 itself, now with the real fix in the wrapper, this hack is no more necessary) Also the new texture conversion routine should save some texture video memory.
- z near clipping fix : objets were clipped too early (see this post where I explain the problem :
http://www.emuxhaven.net/forums/showpost.php?p=74851&postcount=386)
- I put back what seems to me to be the correct screen height of 240 for PAL games (it was previously set to 230) so that we don't have anymore a black band at the bottom of the screen for PAL games, and also this way framebuffer effects like motion blur works correctly.
Attached are modified source code and a binary build (for linux gentoo, might work on other distributions too).
Ziggy.
EDIT: by the way, it might be a good idea to rename the thread (if that 's possible), since it's also a port of glide64 (not just the wrapper), and also specifying it's a port
to linux might be a good idea too
EDIT2 : fixed linkage problem due to the unused devil library (IL), thanks Tillman for reporting this