summaryrefslogtreecommitdiffstatshomepage
path: root/3rdparty/bgfx/examples/19-oit/oit.cpp
diff options
context:
space:
mode:
Diffstat (limited to '3rdparty/bgfx/examples/19-oit/oit.cpp')
-rw-r--r--3rdparty/bgfx/examples/19-oit/oit.cpp8
1 files changed, 4 insertions, 4 deletions
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