Skip to content

Instantly share code, notes, and snippets.

@ThePhD
Created December 23, 2013 17:06
Show Gist options
  • Save ThePhD/8100704 to your computer and use it in GitHub Desktop.
Save ThePhD/8100704 to your computer and use it in GitHub Desktop.
ptr<IDXGIFactory, release_deleter> factory = null;
r = CreateDXGIFactory( __uuidof( IDXGIFactory ), static_cast<void**>( &factory ) );
if ( r != 0 )
throw ErrorCodeException( "Unable to create a DXGI Factory.", r );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment