get Ink pen data like pressure, buttons

This commit is contained in:
2017-04-12 00:44:26 +01:00
parent a82c76ce41
commit d230bc7a99
4 changed files with 68 additions and 15 deletions

View File

@@ -534,12 +534,12 @@ void App::init()
LOG("GL vendor: %s", glGetString(GL_VENDOR));
LOG("GL renderer: %s", glGetString(GL_RENDERER));
GLint n_exts;
glGetIntegerv(GL_NUM_EXTENSIONS, &n_exts);
for (int i = 0; i < n_exts; i++)
{
LOG("%s", glGetStringi(GL_EXTENSIONS, i));
}
// GLint n_exts;
// glGetIntegerv(GL_NUM_EXTENSIONS, &n_exts);
// for (int i = 0; i < n_exts; i++)
// {
// LOG("%s", glGetStringi(GL_EXTENSIONS, i));
// }
LOG("Screen Resolution: %dx%d", (int)width, (int)height);