Hello!
Well I am following this tutorial
I am not posting my whole project because I have noticed people only get upset over it so I am just posting the core part.
If I remove theese three lines everything works fine
spriteBatch->Begin();
spriteFont->DrawString(spriteBatch.get(), L"Hello World", SimpleMath::Vector2(100, 100));
spriteBatch->End();
This is how it is suposed to look http://sv.tinypic.com/r/2s8i9af/8
However when those three lines of code are there my application is just pure blank / it is white. I hope you don't want me to show you what that looks like
And for those interested here is my declarations and some other useful pieces of code that might help you understand
unique_ptr<SpriteBatch> spriteBatch;
unique_ptr<SpriteFont> spriteFont;
ID3D11ShaderResourceView* textTexture;
spriteBatch.reset(new SpriteBatch(deviceContext));
spriteFont.reset(new SpriteFont(device, L"C:\\Users\\Dawood\\Documents\\Visual Studio 2013\\Projects\\D3\\Arial.spriteFont"));
There is nothing else that has anything to do with rendering text, if anything is wrong then it is here. Like I said people usually don't like when I post my entire project so I won't do it in the future unless somebody asks for it.
Any help is appreciated!
Regards!