mirror of
https://github.com/nzp-team/glquake.git
synced 2025-02-19 10:10:57 +00:00
Merge pull request #1 from masterfeizz/picagl-tweaks
This commit is contained in:
commit
8db59dcb49
2 changed files with 11 additions and 2 deletions
|
@ -50,7 +50,7 @@ GL_Init
|
||||||
*/
|
*/
|
||||||
void GL_Init (void)
|
void GL_Init (void)
|
||||||
{
|
{
|
||||||
pglInit();
|
pglInitEx(0x040000, 0x100000);
|
||||||
|
|
||||||
gl_vendor = glGetString (GL_VENDOR);
|
gl_vendor = glGetString (GL_VENDOR);
|
||||||
gl_renderer = glGetString (GL_RENDERER);
|
gl_renderer = glGetString (GL_RENDERER);
|
||||||
|
|
|
@ -292,10 +292,19 @@ int main (int argc, char **argv)
|
||||||
|
|
||||||
APT_CheckNew3DS(&new3ds_flag);
|
APT_CheckNew3DS(&new3ds_flag);
|
||||||
|
|
||||||
gfxInit(GSP_RGB565_OES,GSP_RGB565_OES,false);
|
gfxInit(GSP_BGR8_OES, GSP_RGB565_OES, false);
|
||||||
gfxSetDoubleBuffering(GFX_BOTTOM, false);
|
gfxSetDoubleBuffering(GFX_BOTTOM, false);
|
||||||
gfxSwapBuffersGpu();
|
gfxSwapBuffersGpu();
|
||||||
|
|
||||||
|
uint8_t model;
|
||||||
|
|
||||||
|
cfguInit();
|
||||||
|
CFGU_GetSystemModel(&model);
|
||||||
|
cfguExit();
|
||||||
|
|
||||||
|
if(model != CFG_MODEL_2DS)
|
||||||
|
gfxSetWide(true);
|
||||||
|
|
||||||
chdir("sdmc:/3ds/nzportable");
|
chdir("sdmc:/3ds/nzportable");
|
||||||
|
|
||||||
if (new3ds_flag == true)
|
if (new3ds_flag == true)
|
||||||
|
|
Loading…
Reference in a new issue