mirror of
https://github.com/ocornut/imgui.git
synced 2026-01-11 00:04:24 +00:00
Docs: Renamed all occurences of "binding" and "back-end" to "backend" in comments and documentations, for consistency.
This commit is contained in:
parent
041ef01b33
commit
124c2608f1
65 changed files with 265 additions and 261 deletions
|
|
@ -22,7 +22,7 @@ static void glfw_error_callback(int error, const char* description)
|
|||
|
||||
int main(int, char**)
|
||||
{
|
||||
// Setup Dear ImGui binding
|
||||
// Setup Dear ImGui context
|
||||
IMGUI_CHECKVERSION();
|
||||
ImGui::CreateContext();
|
||||
ImGuiIO& io = ImGui::GetIO(); (void)io;
|
||||
|
|
@ -62,6 +62,7 @@ int main(int, char**)
|
|||
id <MTLDevice> device = MTLCreateSystemDefaultDevice();;
|
||||
id <MTLCommandQueue> commandQueue = [device newCommandQueue];
|
||||
|
||||
// Setup Platform/Renderer backends
|
||||
ImGui_ImplGlfw_InitForOpenGL(window, true);
|
||||
ImGui_ImplMetal_Init(device);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue