microsoft / DirectXTK12

The DirectX Tool Kit (aka DirectXTK12) is a collection of helper classes for writing DirectX 12 code in C++
https://walbourn.github.io/directx-tool-kit-for-directx-12/
MIT License
1.48k stars 394 forks source link

Drawing Text #4

Closed qcha0s closed 8 years ago

qcha0s commented 8 years ago

Loading a Bitmap Font section is missing:

std::unique_ptrDirectX::SpriteFont m_font;

which needs to be added to Game.h

qcha0s commented 8 years ago

on further inspection it looks like you just added m_SpriteBatch as < SpriteBatch > where it should have been m_font as < SpriteFont >

walbourn commented 8 years ago

Fixed. Thanks!