the "testrenderer.exe" will crash when it is running. this is because the
wrong format of the default rendertarget. I found the default pixel format
of the DisplayMode is InvalidPixelFormat, so I changed it to X8R8G8B8. Now
the example is running correctly.
/**
This constructor is suitable for windowed modes.
*/
inline
DisplayMode::DisplayMode(uint x, uint y, uint w, uint h) :
xPos(x),
yPos(y),
width(w),
height(h),
pixelFormat(PixelFormat::X8R8G8B8)
{
// empty
}
Original issue reported on code.google.com by xoyoj...@gmail.com on 31 Jul 2008 at 1:25
Original issue reported on code.google.com by
xoyoj...@gmail.com
on 31 Jul 2008 at 1:25