Fixed build.
This commit is contained in:
parent
eeb491883d
commit
095603f6c5
@ -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();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user