edgar-mtz-e / slimdx

Automatically exported from code.google.com/p/slimdx
0 stars 0 forks source link

D3D10: Output::GetDisplayModeList crashes vshost32.exe #303

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Seems to be due to 0 modes being returned from the initial call to 
IDXGIOutput::GetDisplayModeList.  It crashes at this point:
RECORD_DXGI( InternalPointer->GetDisplayModeList( static_cast<DXGI_FORMAT>
( format ), static_cast<UINT>( flags ), &modeCount, &nativeDescriptions
[0] ) );

The error message (in C++) I get is:
Expression:  vector subscript out of range

Original issue reported on code.google.com by tape.wyrm on 22 Jul 2008 at 6:31

GoogleCodeExporter commented 9 years ago
Fixed.

Original comment by Mike.Popoloski on 23 Jul 2008 at 6:17