Skip to content

Commit

Permalink
refactor: DirectWriteResources
Browse files Browse the repository at this point in the history
- simplify code with lambda function in DirectWriteResources::InitResources
- simplify code of DirectWriteResources::_SetFontFallback
- remove unnecessary reset to ComPtr objects
- add a macro  for debug info output with OutputDebugString
- handle failed HRESULT with ComException, output debug info with the macro
  • Loading branch information
fxliang committed Feb 6, 2025
1 parent b4813ea commit e87425a
Show file tree
Hide file tree
Showing 3 changed files with 181 additions and 219 deletions.
Loading

0 comments on commit e87425a

Please sign in to comment.