Workaround for motogp setting a bogus framebuffer address.

This commit is contained in:
Henrik Rydgard 2012-11-19 23:53:38 +01:00
parent 8b67975a47
commit 4a49b8ee36
5 changed files with 34 additions and 11 deletions

View file

@ -193,7 +193,7 @@ void DisplayDrawer_DrawFramebuffer(u8 *framebuf, int pixelFormat, int linesize)
DrawActiveTexture(480, 272);
}
void DrawActiveTexture(int w, int h, bool flip)
void DrawActiveTexture(float w, float h, bool flip)
{
float u2 = 1.0f;
float v1 = flip ? 1.0 : 0.0f;