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(); }