From 095603f6c5c8e2f65ebb8ac160cc4c7d4bb04c45 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Branimir=20Karad=C5=BEi=C4=87?= Date: Thu, 26 Mar 2015 15:04:09 -0700 Subject: [PATCH] Fixed build. --- examples/07-callback/callback.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/examples/07-callback/callback.cpp b/examples/07-callback/callback.cpp index 3e4480912..3caec753f 100644 --- a/examples/07-callback/callback.cpp +++ b/examples/07-callback/callback.cpp @@ -372,6 +372,8 @@ int _main_(int /*_argc*/, char** /*_argv*/) bgfx::init( renderers[bx::getHPCounter() % numRenderers] /* randomize renderer */ + , BGFX_PCI_ID_NONE + , 0 , &callback // custom callback handler , &allocator // custom allocator ); @@ -442,7 +444,7 @@ int _main_(int /*_argc*/, char** /*_argv*/) float at[3] = { 0.0f, 0.0f, 0.0f }; float eye[3] = { 0.0f, 0.0f, -35.0f }; - + float view[16]; float proj[16]; bx::mtxLookAt(view, eye, at); @@ -488,7 +490,7 @@ int _main_(int /*_argc*/, char** /*_argv*/) bgfx::saveScreenShot("temp/frame150"); } - // Advance to next frame. Rendering thread will be kicked to + // Advance to next frame. Rendering thread will be kicked to // process submitted rendering primitives. bgfx::frame(); }