Reinstall DirectX EZ will match your current DirectX program with the original one in your system setup disk. If there were DirectX errors, Reinstall DirectX EZ will fix it immediately. During DirectX repair, you should cut off the internet connecting. When DirectX repair is over, you can run NFS Rivals for a try.
Which DirectX update option are you using ?
Web Installer - ( will replace 'missing' or update with newer versions, but does not overwrite
corrupt files)
Download DirectX End-User Runtime Web Installer from Official Microsoft Download Center
The full installer package ( overwrites all DX files ) may be the better option if a DX file or files
are corrupt, but if a .cab file is part of the error your DX download may have been corrupted,
as the .cab is what the DX .dlls are installed from, so try downloading again.
Download Details - Microsoft Download Center - DirectX Redist (June 2010)
The same would apply with the game. Delete all existing files that have been downloaded for
the game and start the download again.
Or you could try just deleting the games DX installer which should be in a sub-folder titled DirectX
(at least that's where it is in NFS Shift, but sometime there is a folder called redist, or similar )
and resume the download.
What graphics processor does your Toshiba use ? DirectX errors can also result from not
meeting the games graphics processor requirements.
If you are not downloading a legitimate version from EA Origin, and using a torrent, that would
be another reason for the error messages saying the .cab file is unsigned.
I this instance you would be at the wrong forum as this would be an issue created by the Pirates.
.
$begingroup$Web Installer - ( will replace 'missing' or update with newer versions, but does not overwrite
corrupt files)
Download DirectX End-User Runtime Web Installer from Official Microsoft Download Center
The full installer package ( overwrites all DX files ) may be the better option if a DX file or files
are corrupt, but if a .cab file is part of the error your DX download may have been corrupted,
as the .cab is what the DX .dlls are installed from, so try downloading again.
Download Details - Microsoft Download Center - DirectX Redist (June 2010)
The same would apply with the game. Delete all existing files that have been downloaded for
the game and start the download again.
Or you could try just deleting the games DX installer which should be in a sub-folder titled DirectX
(at least that's where it is in NFS Shift, but sometime there is a folder called redist, or similar )
and resume the download.
What graphics processor does your Toshiba use ? DirectX errors can also result from not
meeting the games graphics processor requirements.
If you are not downloading a legitimate version from EA Origin, and using a torrent, that would
be another reason for the error messages saying the .cab file is unsigned.
I this instance you would be at the wrong forum as this would be an issue created by the Pirates.
.
I am currently learning how to use DirectX11 but I am unable to use 4X MSAA. Here is my code (Since I'm just learning I haven't used any headers or classes, sorry for the messy code) If anybody can point out what I need to do or fix that would be great.
When I compile the code above this is what I get. Notice the jagged edges although I put the multisample count as 4X? (If you can't see the jagged edges view it in fullscreen)
I have tried the following
But I get the error
Identifier 'hr' is undefined
.Arjan Singh
Arjan SinghArjan Singh
$endgroup$1 Answer
$begingroup$I think sample quality should be greater than 0. You can check the maximum supported quality by calling the ID3D11Device::CheckMultisampleQualityLevels method. For example:
If
hr S_OK
when the function returns, the maximum supported quality level will be written into maxQuality variable. You can then add this line to the swapchain desc:Also provide the quality to the depth stencil descriptor:
Your depth stencil texture should also be declared as multisampled. This is done by the following line:
descDSV.ViewDimension = D3D11_DSV_DIMENSION_TEXTURE2D
;That should be
János TuránszkiJános TuránszkiD3D11_DSV_DIMENSION_TEXTURE2DMS
2,80422 gold badges1010 silver badges1919 bronze badges
$endgroup$