Skip to content

d3d11window: Misc code cleanup

  • Remove unnecessary upcasting. We are now dealing with C++ class objects and don't need explicit C-style casting in C++ world
  • Use helper macro IID_PPV_ARGS() everywhere. It will make code a little short.
  • Use ComPtr smart pointer instead of calling manual IUnknown::Release()

Merge request reports