mirror of
https://github.com/ZDoom/Raze.git
synced 2025-05-31 09:20:59 +00:00
- 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:
parent
0de4b134da
commit
3f69044770
15 changed files with 13 additions and 1030 deletions
|
@ -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()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue