Add internal 2D drawing library that goes through the Ge emulation for portability.

To be used for things like sceUtility* and other overlays like FPS and stats.
This commit is contained in:
Henrik Rydgard committed 2012-11-18 13:04:49 +01:00
1 parent a6eb25b58c
commit e37a1fb1d3
39 files changed
+847 -136

No files matched your search

+2 -1
View File
@@ -108,7 +108,8 @@ void DisplayDrawer_Init()
glUniformMatrix4fv(draw2dprogram->u_viewproj, 1, GL_FALSE, ortho.getReadPtr());
glsl_unbind();
// And an initial clear.
// And an initial clear. We don't clear per frame as the games are supposed to handle that
// by themselves.
glClearColor(0, 0, 0, 0);
glClear(GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT);