test: print current backend engine name

Change-Id: Iaafa521556a614b47994914c09228b8e8ae9c9e9
This commit is contained in:
Hermet Park 2020-06-29 16:26:02 +09:00
parent 3fe2eedd89
commit 0a562a4ae2

View file

@ -1,4 +1,5 @@
#include <thorvg.h>
#include <iostream>
#include <Elementary.h>
using namespace std;
@ -107,6 +108,9 @@ int main(int argc, char **argv)
if (!strcmp(argv[1], "gl")) swEngine = false;
}
if (swEngine) cout << "engine: software" << endl;
else cout << "engine: opengl" << endl;
elm_init(argc, argv);
//Show the result using EFL...