From 7d81db60e1028826a062b18feb56c8b01926408e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Branimir=20Karad=C5=BEi=C4=87?= Date: Wed, 31 Dec 2014 16:33:05 -0800 Subject: [PATCH] Cleanup. --- 3rdparty/ib-compress/indexbuffercompression.cpp | 3 +++ examples/18-ibl/ibl.cpp | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/3rdparty/ib-compress/indexbuffercompression.cpp b/3rdparty/ib-compress/indexbuffercompression.cpp index d81f0250..03c15fe7 100644 --- a/3rdparty/ib-compress/indexbuffercompression.cpp +++ b/3rdparty/ib-compress/indexbuffercompression.cpp @@ -524,6 +524,9 @@ void CompressTriangleCodes1( const Ty* triangles, verticesRead += 3; break; } + + default: // IB_EDGE_NEW, IB_EDGE_CACHED, IB_EDGE_0_NEW, IB_EDGE_1_NEW + break; } // populate the edge fifo with the 3 most recent edges diff --git a/examples/18-ibl/ibl.cpp b/examples/18-ibl/ibl.cpp index 7a5d3b8a..267cc19f 100644 --- a/examples/18-ibl/ibl.cpp +++ b/examples/18-ibl/ibl.cpp @@ -271,7 +271,7 @@ int _main_(int /*_argc*/, char** /*_argv*/) bgfx::ProgramHandle programSky = loadProgram("vs_ibl_skybox", "fs_ibl_skybox"); Mesh* meshBunny; - meshBunny = meshLoad("meshes/pony.bin"); + meshBunny = meshLoad("meshes/bunny.bin"); struct Settings {