Reputation: 31
I'm trying to run application with playing video. My problem is that i'm receive null while:
surface = Surface.CreateOffscreenPlainEx(_device, width, height, useRgb ? Format.X8R8G8B8 : Format.Yuy2, Pool.Default, Usage.None);
I'm founded, that the problem is in SlimDX,
device->InternalPointer->CreateOffscreenPlainSurfaceEx
returns D3DERR_INVALIDCALL.
I'm using wine 6.19(staging) with native directx implementation. Can someone suggest any solution or way to find it?
Upvotes: 0
Views: 141
Reputation: 31
The problem have resolved by changing CreateOffscreenPlainEx to CreateOffscreenPlain. CreateOffscreenPlainEx or something under it is unimplemented.
Upvotes: 0