Merge pull request #1 from masterfeizz/picagl-tweaks

This commit is contained in:
Ian 2022-12-01 19:32:08 -05:00 committed by GitHub
commit 8db59dcb49
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 11 additions and 2 deletions

View file

@ -50,7 +50,7 @@ GL_Init
*/
void GL_Init (void)
{
pglInit();
pglInitEx(0x040000, 0x100000);
gl_vendor = glGetString (GL_VENDOR);
gl_renderer = glGetString (GL_RENDERER);

View file

@ -292,10 +292,19 @@ int main (int argc, char **argv)
APT_CheckNew3DS(&new3ds_flag);
gfxInit(GSP_RGB565_OES,GSP_RGB565_OES,false);
gfxInit(GSP_BGR8_OES, GSP_RGB565_OES, false);
gfxSetDoubleBuffering(GFX_BOTTOM, false);
gfxSwapBuffersGpu();
uint8_t model;
cfguInit();
CFGU_GetSystemModel(&model);
cfguExit();
if(model != CFG_MODEL_2DS)
gfxSetWide(true);
chdir("sdmc:/3ds/nzportable");
if (new3ds_flag == true)