Backed out changeset 4d4abe4bee7f (bug 1083071) for bustage.

This commit is contained in:
Ryan VanderMeulen 2014-10-26 18:44:40 -04:00
Родитель 00c7a6d832
Коммит 07a4bc9d5e
1 изменённых файлов: 0 добавлений и 10 удалений

Просмотреть файл

@ -1572,16 +1572,6 @@ gfxWindowsPlatform::InitD3D11Devices()
{
mD3D11DeviceInitialized = true;
nsCOMPtr<nsIGfxInfo> gfxInfo = do_GetService("@mozilla.org/gfx/info;1");
if (gfxInfo) {
int32_t status;
if (NS_SUCCEEDED(gfxInfo->GetFeatureStatus(nsIGfxInfo::FEATURE_DIRECT3D_11_LAYERS, &status))) {
if (status != nsIGfxInfo::FEATURE_STATUS_OK) {
return nullptr;
}
}
}
nsModuleHandle d3d11Module(LoadLibrarySystem32(L"d3d11.dll"));
decltype(D3D11CreateDevice)* d3d11CreateDevice = (decltype(D3D11CreateDevice)*)
GetProcAddress(d3d11Module, "D3D11CreateDevice");