print a message when it fails to create ecore evas.
This commit is contained in:
parent
776268d077
commit
6d76a78b23
|
@ -1288,7 +1288,11 @@ main(int argc, char **argv)
|
|||
resolutions[resolution_index].width,
|
||||
resolutions[resolution_index].height,
|
||||
NULL); // FIXME: Specify additional parameter for the engine on the command line
|
||||
if (!ee) return -1;
|
||||
if (!ee)
|
||||
{
|
||||
fprintf(stderr, "Failed to create Ecore_Evas. Please check engine name \"%s\"\n", engine);
|
||||
return -1;
|
||||
}
|
||||
|
||||
choosen_engine = ecore_evas_engine_name_get(ee);
|
||||
ecore_evas_callback_delete_request_set(ee, _cb_delete);
|
||||
|
|
Loading…
Reference in New Issue