summaryrefslogtreecommitdiffstatshomepage
path: root/3rdparty/bgfx/examples/00-helloworld/helloworld.cpp
diff options
context:
space:
mode:
author Miodrag Milanovic <mmicko@gmail.com>2015-09-12 10:23:53 +0200
committer Miodrag Milanovic <mmicko@gmail.com>2015-09-12 10:23:53 +0200
commit7ca8f88a5c399317265d9a2f5132eab2ab7723ac (patch)
treecf7af75fb307bd040508c4c2455d3bd6755619f4 /3rdparty/bgfx/examples/00-helloworld/helloworld.cpp
parent6d06509293e2fe6b1743085471f0ff5268a1b351 (diff)
Added latest BGFX (nw)
Diffstat (limited to '3rdparty/bgfx/examples/00-helloworld/helloworld.cpp')
-rw-r--r--3rdparty/bgfx/examples/00-helloworld/helloworld.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/3rdparty/bgfx/examples/00-helloworld/helloworld.cpp b/3rdparty/bgfx/examples/00-helloworld/helloworld.cpp
index beef8cea1bb..03d64e0bb0f 100644
--- a/3rdparty/bgfx/examples/00-helloworld/helloworld.cpp
+++ b/3rdparty/bgfx/examples/00-helloworld/helloworld.cpp
@@ -36,7 +36,7 @@ int _main_(int /*_argc*/, char** /*_argv*/)
// This dummy draw call is here to make sure that view 0 is cleared
// if no other draw calls are submitted to view 0.
- bgfx::submit(0);
+ bgfx::touch(0);
// Use debug font to print information about this example.
bgfx::dbgTextClear();
@@ -50,7 +50,7 @@ int _main_(int /*_argc*/, char** /*_argv*/)
bgfx::dbgTextPrintf(0, 1, 0x4f, "bgfx/examples/00-helloworld");
bgfx::dbgTextPrintf(0, 2, 0x6f, "Description: Initialization and debug text.");
- // Advance to next frame. Rendering thread will be kicked to
+ // Advance to next frame. Rendering thread will be kicked to
// process submitted rendering primitives.
bgfx::frame();
}