1
Vote

DXUtils.CreateBuffer always sets BindFlags.VertexBuffer

description

The function DXUtils.CreateBuffer does not take a BufferDescription as parameter but will instead create one by itself with BindFlags.VertexBuffer , it will also do this when creating an indexbuffer and may result in some cases to an error "Attempted to read or write protected memory. This is often an indication that other memory is corrupt."

This happens when using the build-in Intel HD Graphics, when switching to Nvidia graphics, the problem sometimes disappears.

This also happens with the example solutions.

comments