Код: Выделить всё
D3D11CreateDevice(nullptr, DriverTypes[DriverTypeIndex], nullptr, D3D11_CREATE_DEVICE_DEBUG, FeatureLevels, NumFeatureLevels,
D3D11_SDK_VERSION, &pD3DDev, &FeatureLevel, &pCtx);
Подробнее здесь: https://stackoverflow.com/questions/645 ... oesnt-work