Update D3DBase.cpp