change android icon, move code so .cpp and implement stroke preview using Stroke class for accurate preview.
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user