First off I am sorry if I placed this post in a wrong thread or the formatting is bad I ma new here and I still do not understand all the rules.
Now to my question I am trying to make a small @D memory game using MFC and Direct2D. I am having an issue with drawing the bitmap after it was successfully created and drawn.
To create the bitmap I am using the following function:
void CGameMaster::CreateTableTopBitmap()
{
if(!tableTopBitmap)
{
tableTopBitmap = new CD2DBitmap(windowToBeRanderedTo, iDTableTop, L"JPG", CD2DSizeU(0, 0), FALSE);
auto dWrd = GetLastError();