Vita: VitaGL api changes (#11981)

* Vita: VitaGL api changes: vglSwapBuffers

* Vita: VitaGL api change: Remove vglStartRendering
This commit is contained in:
Francisco José García García 2021-02-04 11:46:00 +01:00 committed by GitHub
parent c360f9126d
commit 066917ac23
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 1 additions and 3 deletions

View File

@ -283,7 +283,6 @@ static void *gl1_gfx_init(const video_info_t *video,
{
vglInitExtended(0x1400000, full_x, full_y, RAM_THRESHOLD, SCE_GXM_MULTISAMPLE_4X);
vglUseVram(GL_TRUE);
vglStartRendering();
vgl_inited = true;
}
#endif

View File

@ -67,8 +67,7 @@ static void vita_swap_buffers(void *data)
#endif
#if defined(HAVE_VITAGL)
vglStopRendering();
vglStartRendering();
vglSwapBuffers(GL_FALSE);
#endif
}