Orkin
d1R3c764 & g1|\|64 m4|<3R
Ok, here's the deal. I'm starting an OpenGL GFX plugin for N64 emus (I was doing one in D3D and got pretty far, but now I've decided to move over to OGL), but I'm having trouble getting it to work right with PJ64. I can start a ROM, and it displays fine, but when I try to end the emulation, the emu freezes with a partially drawn ROM selection window.
After putting some debugging code in I found that it's not unsetting the current rendering context, so when the window gets destroyed, OGL throws a fit.
The funny thing is it works fine in other emus (e.g. 1964), no problems unsetting the current context, and no freezing whatsoever.
I'd say it's a problem with PJ64, but I know (at least) Jabo and Azimer got OGL to work with PJ64, so it must be something I'm missing...even though I've tried everything I can think of.
Anyway, if anyone has any ideas, I'd greatly appreciate the help.
Thanks,
Orkin
After putting some debugging code in I found that it's not unsetting the current rendering context, so when the window gets destroyed, OGL throws a fit.
The funny thing is it works fine in other emus (e.g. 1964), no problems unsetting the current context, and no freezing whatsoever.
I'd say it's a problem with PJ64, but I know (at least) Jabo and Azimer got OGL to work with PJ64, so it must be something I'm missing...even though I've tried everything I can think of.
Anyway, if anyone has any ideas, I'd greatly appreciate the help.
Thanks,
Orkin