Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Is this a bug? #1

Open
GoogleCodeExporter opened this issue Oct 10, 2015 · 0 comments
Open

Is this a bug? #1

GoogleCodeExporter opened this issue Oct 10, 2015 · 0 comments

Comments

@GoogleCodeExporter
Copy link

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 [email protected] on 31 Jul 2008 at 1:25

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant