From 3c133cf76f7ddd8a9cb2bec49c6a006d58b9ba3c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Branimir=20Karad=C5=BEi=C4=87?= Date: Sun, 20 Nov 2016 12:59:52 -0800 Subject: [PATCH] Cleanup. --- examples/09-hdr/hdr.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/examples/09-hdr/hdr.cpp b/examples/09-hdr/hdr.cpp index ef72e2c62..6e6918189 100644 --- a/examples/09-hdr/hdr.cpp +++ b/examples/09-hdr/hdr.cpp @@ -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); }