change android icon, move code so .cpp and implement stroke preview using Stroke class for accurate preview.

This commit is contained in:
2017-03-29 00:50:51 +01:00
parent 675e0148ec
commit ade95724e8
14 changed files with 421 additions and 370 deletions

View File

@@ -167,6 +167,10 @@ static void engine_draw_frame(struct engine* engine) {
if (engine->display == NULL)
return;
glClearColor(.1f, .1f, .1f, 1.f);
glViewport(0, 0, (GLsizei)engine->width, (GLsizei)engine->height);
glClear(GL_COLOR_BUFFER_BIT);
App::I.update(0);
eglSwapBuffers(engine->display, engine->surface);