mirror of
https://github.com/scratchfoundation/bgfx.git
synced 2025-04-04 03:19:43 -04:00
Cleanup.
This commit is contained in:
parent
ed883bec36
commit
8cbc06e7bf
1 changed files with 0 additions and 14 deletions
|
@ -14,7 +14,6 @@
|
|||
#include <bx/readerwriter.h>
|
||||
#include <bx/string.h>
|
||||
|
||||
static bool s_flipV = false;
|
||||
static float s_texelHalf = 0.0f;
|
||||
|
||||
struct Uniforms
|
||||
|
@ -444,19 +443,6 @@ int _main_(int /*_argc*/, char** /*_argv*/)
|
|||
, 0
|
||||
);
|
||||
|
||||
// Setup root path for binary shaders. Shader binaries are different
|
||||
// for each renderer.
|
||||
switch (bgfx::getRendererType() )
|
||||
{
|
||||
default:
|
||||
break;
|
||||
|
||||
case bgfx::RendererType::OpenGL:
|
||||
case bgfx::RendererType::OpenGLES:
|
||||
s_flipV = true;
|
||||
break;
|
||||
}
|
||||
|
||||
// Imgui.
|
||||
void* data = load("font/droidsans.ttf");
|
||||
imguiCreate(data);
|
||||
|
|
Loading…
Add table
Reference in a new issue