From 0a562a4ae26e5f6c3d6dffc4d45982b7dc1e625b Mon Sep 17 00:00:00 2001 From: Hermet Park Date: Mon, 29 Jun 2020 16:26:02 +0900 Subject: [PATCH] test: print current backend engine name Change-Id: Iaafa521556a614b47994914c09228b8e8ae9c9e9 --- test/testShape.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/test/testShape.cpp b/test/testShape.cpp index e32142fb..cd1bab12 100644 --- a/test/testShape.cpp +++ b/test/testShape.cpp @@ -1,4 +1,5 @@ #include +#include #include 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...