- removed all references to sdlayer.cpp as all that was left in there was only needed for software rendering.

- removed now unused a-c.cpp.
This commit is contained in:
Christoph Oelckers 2020-03-29 15:22:07 +02:00
parent 0de4b134da
commit 3f69044770
15 changed files with 13 additions and 1030 deletions

View file

@ -94,24 +94,6 @@ void GLInstance::Init(int ydim)
new(&renderState) PolymostRenderState; // reset to defaults.
LoadSurfaceShader();
LoadPolymostShader();
#if 0
IMGUI_CHECKVERSION();
im_ctx = ImGui::CreateContext();
ImGuiIO& io = ImGui::GetIO(); (void)io;
io.ConfigFlags |= ImGuiConfigFlags_NavEnableKeyboard; // Enable Keyboard Controls
//io.ConfigFlags |= ImGuiConfigFlags_NavEnableGamepad; // Enable Gamepad Controls
// Setup Dear ImGui style
ImGui::StyleColorsDark();
ImGui_Init_Backend();
ImGui_ImplOpenGL3_Init();
if (!ttf.Size())
{
//ttf = fileSystem.LoadFile("engine/Capsmall_clean.ttf", 0);
ttf = fileSystem.LoadFile("engine/Roboto-Regular.ttf", 0);
}
if (ttf.Size()) io.Fonts->AddFontFromMemoryTTF(ttf.Data(), ttf.Size(), std::clamp(ydim / 40, 10, 30));
#endif
}
void GLInstance::LoadPolymostShader()