v78f: XNA (async image loading)
Monkey Forums/Monkey Bug Reports/v78f: XNA (async image loading)| 
 | ||
| XNA do not work for me: Program.cs(11400,13): error CS0029: Eine implizite Konvertierung vom Typ 'gxtkSurface' in 'bool' ist nicht m�glich. [C:\Projekte\xxxx\source\prog.buildv78f\xna\MonkeyGame\MonkeyGame\MonkeyGame.csproj] 12 Warnung(en) 1 Fehler Verstrichene Zeit 00:00:00.64 TRANS FAILED: Error executing 'C:\Windows\Microsoft.NET\Framework\v4.0.30319\MSBuild.exe /t:MonkeyGame /p:Configuration=Release MonkeyGame.sln', return code=1 Done. Translated: Implicit conversion from gxtkSurface to bool is not possible. | 
| 
 | ||
| additional Info: class c_AsyncImageLoaderThread : c_Thread{
	public c_AsyncImageLoaderThread m_AsyncImageLoaderThread_new(){
		base.m_Thread_new();
		return this;
	}
	public gxtkGraphics m__device=null;
	public String m__path="";
	public gxtkSurface m__surface=null;
	public override void Start(){
		m__surface=(new gxtkSurface());
		base.Start();
	}
	public bool m__result=false;
	public override sealed void Run__UNSAFE__(){
		m__result=m__device.LoadSurface__UNSAFE__(m__surface,c_Thread.m_Strdup(m__path)); <<<<<<<<<<<<ERROR
	}
}ASYNCIMAGELOADER.MONKEY: old code from 78b: _surface=_device.LoadSurface__UNSAFE__( _surface,_path ) new code from 78f: _result=_device.LoadSurface__UNSAFE__( _surface,Strdup( _path ) ) |