Cleanup.
This commit is contained in:
parent
3f98a93463
commit
3c133cf76f
@ -403,7 +403,7 @@ class ExampleHDR : public entry::AppI
|
||||
float proj[16];
|
||||
bx::mtxOrtho(proj, 0.0f, 1.0f, 1.0f, 0.0f, 0.0f, 100.0f);
|
||||
|
||||
uint8_t remap[] =
|
||||
uint8_t order[] =
|
||||
{
|
||||
hdrSkybox,
|
||||
hdrMesh,
|
||||
@ -416,10 +416,10 @@ class ExampleHDR : public entry::AppI
|
||||
hdrVBlur,
|
||||
hdrHBlurTonemap
|
||||
};
|
||||
bgfx::setViewOrder(0, BX_COUNTOF(remap), remap);
|
||||
bgfx::setViewOrder(0, BX_COUNTOF(order), order);
|
||||
|
||||
// Set view and projection matrix for view 0.
|
||||
for (uint32_t ii = 0; ii < BX_COUNTOF(remap); ++ii)
|
||||
for (uint32_t ii = 0; ii < BX_COUNTOF(order); ++ii)
|
||||
{
|
||||
bgfx::setViewTransform(ii, NULL, proj);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user