02-16-2016, 12:30 AM
I'm trying to enable 3D mode in mgba. This line here
draws the left screen of the top screen. I want to simultaniously draw the right screen to enable 3D (like when you slide the 3D slider to the top). I have tried numerous approaches but nothing worked.
and so on. Every time I got a compile error. What am I doing wrong? How is it supposed to work? Pleas help me.
Code:
void* outputFramebuffer = gfxGetFramebuffer(GFX_TOP, GFX_LEFT, &height, &width);
draws the left screen of the top screen. I want to simultaniously draw the right screen to enable 3D (like when you slide the 3D slider to the top). I have tried numerous approaches but nothing worked.
Code:
void* outputFramebuffer = gfxGetFramebuffer(GFX_TOP, GFX_LEFT, &height, &width);
void* outputFramebuffer = gfxGetFramebuffer(GFX_TOP, GFX_RIGHT, &height, &width);
Code:
void* outputFramebuffer = gfxGetFramebuffer(GFX_TOP, GFX_LEFT, &height, &width), outputFramebuffer = gfxGetFramebuffer(GFX_TOP, GFX_RIGHT, &height, &width);
and so on. Every time I got a compile error. What am I doing wrong? How is it supposed to work? Pleas help me.