mirror of
https://github.com/bkaradzic/bgfx.git
synced 2026-02-18 04:53:06 +01:00
Cleanup.
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user