[Openal] Re:

Stephen J Baker sjbaker at link.com
Thu Sep 1 13:58:52 PDT 2005


Jirong Zhang wrote:
> 
> I was confused... compiler gave me this error:
> error C2660: 'alutInit' : function does not take 2 parameters...
> 
> search down to v1.1 alut.h file..I found this line
> ALUTAPI ALboolean ALUTAPIENTRY alutInit(ALCchar *szDeviceName,  
> ALCdevice **ppDevice, ALCcontext **ppcontext);

You have a nasty old alut.h lying around somewhere in your system.
alutInit should only *ever* have two parameters.

-----------------------------------------------------------------------
The second law of Frisbee throwing states: "Never precede any maneuver
by a comment more predictive than "Watch this!"...it turns out that
this also applies to writing Fragment Shaders.
-----------------------------------------------------------------------
Steve Baker                      (817)619-2657 (Vox/Vox-Mail)
L3Com/Link Simulation & Training (817)619-2466 (Fax)
Work: sjbaker at link.com           http://www.link.com
Home: sjbaker1 at airmail.net       http://www.sjbaker.org




More information about the Openal mailing list