Re: alGetError() at start of program behavior differs between Windows and Linux
Dan Kegel <[email protected]> Sat, 18 Jun 2011 20:09:28 -0700
| Newsgroups | gmane.comp.lib.openal |
|---|---|
| Message-ID | <[email protected]> |
On Sat, Jun 18, 2011 at 6:39 PM, Chris Robinson <[email protected]> wrote: > FWIW, the same problem would occur using the Windows build of OpenAL Soft > without the router DLL, in real Windows. Hacking Wine's DLL thunk will just > hide the problem. > > It's a difficult problem to solve. Simply returning AL_NO_ERROR is just asking > for its own problems... Sure. On the other hand, in Wine's case, maybe it's a good tradeoff; Wine's wrapper might be the least evil place for this kind of hack. > The best option would be getting the game's developer to fix the app I will try. > but > short of that I can add a hack to OpenAL Soft to check for an environment > variable and return 0 when no context is available (similar to how it handles > reversed Z for TrackMania, via __ALSOFT_REVERSE_Z=1, or half-angle cones, via > __ALSOFT_HALF_ANGLE_CONES=1; things that break spec, but are needed to get > certain apps working correctly). Probably best to hold off until more people are affected. Is there a conformance test for OpenAL? There was talk of one back at the start... - Dan _______________________________________________ Openal mailing list [email protected] http://opensource.creative.com/mailman/listinfo/openal