[Bf-committers] [Bf-blender-cvs] SVN commit: /data/svn/bf-blender [20217] trunk/blender: * Fix for compile error on MSVC.

jmsoler at free.fr jmsoler at free.fr
Sat May 16 13:01:17 CEST 2009


Selon jmsoler at free.fr:

> Selon Brecht Van Lommel <brecht at blender.org>:
>
> > Revision: 20217
> >
> >
>
http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=20217
> > Author:   blendix
> > Date:     2009-05-15 20:21:27 +0200 (Fri, 15 May 2009)
> >
> > Log Message:
> > -----------
> > * Fix for compile error on MSVC.
>
> Here msvs can't find the  alGetSourcei idenfier.
>
>

Ok, there is something not clear around these lines

Line
645 	int alstate = 0;
646 	int result = 0;
647
	 #ifdef __APPLE__
	         alGetSourcei(m_sources[id], AL_SOURCE_STATE, &alstate);
	 #else
	     alGetSourceiv(m_sources[id], AL_SOURCE_STATE, &alstate);
	 #endif


that became :

Line
645 	int alstate = 0;
646 	int result = 0;
647
alGetSourcei(m_sources[id], AL_SOURCE_STATE, &alstate);

jms






More information about the Bf-committers mailing list