Docs: Renamed all occurences of "binding" and "back-end" to "backend" in comments and documentations, for consistency.

This commit is contained in:
ocornut
2020-10-12 17:34:22 +02:00
parent 041ef01b33
commit 124c2608f1
65 changed files with 265 additions and 261 deletions

View File

@ -13,7 +13,7 @@
int main(int, char**)
{
// Setup Dear ImGui binding
// Setup Dear ImGui context
IMGUI_CHECKVERSION();
ImGui::CreateContext();
ImGuiIO& io = ImGui::GetIO(); (void)io;
@ -65,6 +65,7 @@ int main(int, char**)
return -3;
}
// Setup Platform/Renderer backends
CAMetalLayer* layer = (__bridge CAMetalLayer*)SDL_RenderGetMetalLayer(renderer);
layer.pixelFormat = MTLPixelFormatBGRA8Unorm;
ImGui_ImplMetal_Init(layer.device);