> Felado : [International]
>
> IDirect3DSurface8 *tempsurface;
> device->GetFrontBuffer (tempsurface);
> Ez minden esetben D3DERR_INVALIDCALL-t ad vissza :(
Talan elobb tempsurface->CreateImageSurface.
Ugyanis itt NEM a front buffert kapod vissza, hanem egy meglevo
surface-re kimasolodik.
Figyelj arra, hogy a surface D3DFMT_A8R8B8G8 legyen (a tenyleges front
buffertol fuggetlenul), es a meretei
is pontosan egyezzenek meg a front bufferevel.
Egyebkent debug modba tedd at a DirectX-et, a debug outputot tedd
eleg magasra, es akkor a
debug outputon meg is jelenik szovegesen, hogy mi volt a hiba oka.
LutheR
|