Cleanup.
This commit is contained in:
Родитель
ed883bec36
Коммит
8cbc06e7bf
|
@ -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);
|
||||
|
|
Загрузка…
Ссылка в новой задаче