summaryrefslogtreecommitdiffstatsci
path: root/tests
diff options
context:
space:
mode:
authorJean-Philippe Bruyère <jp_bruyere@hotmail.com>2018-10-03 12:41:37 +0200
committerJean-Philippe Bruyère <jp_bruyere@hotmail.com>2018-10-03 12:41:37 +0200
commitff1c98d9c8693b0ef368bbb6d03c3748c161f00a (patch)
treeca46d7c34acd2dfd7090ffb49253cb7c263fc769 /tests
parentb02d9bc08dbb51e039a9ad85df210481011a2a04 (diff)
function pointers for most used ones
Diffstat (limited to 'tests')
-rw-r--r--tests/test1.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test1.c b/tests/test1.c
index 7312e18..f7db6fb 100644
--- a/tests/test1.c
+++ b/tests/test1.c
@@ -1117,7 +1117,7 @@ int main(int argc, char *argv[]) {
VkhPresenter r = e->renderer;
vkengine_set_key_callback (e, key_callback);
- device = vkvg_device_create (r->dev->phy, r->dev->dev, r->qFam, 0);
+ device = vkvg_device_create (vkh_app_get_inst(e->app), r->dev->phy, r->dev->dev, r->qFam, 0);
surf = vkvg_surface_create(device, width, height);
//test_svg();