Confirmed users
156
edits
No edit summary |
mNo edit summary |
||
(One intermediate revision by the same user not shown) | |||
Line 156: | Line 156: | ||
</pre> | </pre> | ||
The adapter returned by this function can then be used with any DXGI device creation function, such as <tt>D3D10CreateDevice</tt>. Failure to negotiate the adapter properly (or use | The adapter returned by this function can then be used with any DXGI device creation function, such as <tt>D3D10CreateDevice</tt>. Failure to negotiate the adapter properly (or failure to use an IDXGIAdapter1) will result in undefined behavior. | ||
If no matching adapter can be found, the safest course of action for the plugin is to switch to a different drawing model (such the AsyncBitmap model). | |||
== Sample Code == | == Sample Code == |