Jump to content

  • Log In with Google      Sign In   
  • Create Account

akhanubis

Member Since 13 Aug 2012
Offline Last Active Feb 21 2013 05:05 PM

#4978028 Two very strange SlimDX DX11 errors

Posted by akhanubis on 08 September 2012 - 10:51 AM

Resource is an abstract class, try using Texture2D

[source lang="csharp"]using (var resource = Resource.FromSwapChain<Texture2D>(swapChain, 0)){ renderTargetBackBuffer = new RenderTargetView(device, resource);}[/source]


PARTNERS