From 8981faa61fc1e9421805938e6656d84ff61be1f9 Mon Sep 17 00:00:00 2001 From: Miodrag Milanovic Date: Thu, 15 Oct 2015 10:42:29 +0200 Subject: update bgfx to latest (nw) --- 3rdparty/bgfx/examples/19-oit/oit.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to '3rdparty/bgfx/examples/19-oit/oit.cpp') diff --git a/3rdparty/bgfx/examples/19-oit/oit.cpp b/3rdparty/bgfx/examples/19-oit/oit.cpp index f673a9abeb0..7457364e86e 100644 --- a/3rdparty/bgfx/examples/19-oit/oit.cpp +++ b/3rdparty/bgfx/examples/19-oit/oit.cpp @@ -311,11 +311,11 @@ int _main_(int /*_argc*/, char** /*_argv*/) bgfx::setViewTransform(0, view, proj); - // Set clear color palette for index 0 - bgfx::setClearColor(0, 0.0f, 0.0f, 0.0f, 0.0f); + // Set palette color for index 0 + bgfx::setPaletteColor(0, 0.0f, 0.0f, 0.0f, 0.0f); - // Set clear color palette for index 1 - bgfx::setClearColor(1, 1.0f, 1.0f, 1.0f, 1.0f); + // Set palette color for index 1 + bgfx::setPaletteColor(1, 1.0f, 1.0f, 1.0f, 1.0f); bgfx::setViewClear(0 , BGFX_CLEAR_COLOR|BGFX_CLEAR_DEPTH -- cgit v1.2.3-70-g09d2