Clarified asserts comments + todo entries. (#2500)

This commit is contained in:
omar
2019-04-17 09:59:03 +02:00
parent 7baf45cffa
commit 1f25cdd6b4
3 changed files with 8 additions and 5 deletions

View File

@ -87,7 +87,7 @@ void ImGui_ImplMetal_Shutdown()
void ImGui_ImplMetal_NewFrame(MTLRenderPassDescriptor *renderPassDescriptor)
{
IM_ASSERT(g_sharedMetalContext != nil && "No Metal context. Did you call ImGui_ImplMetal_Init?");
IM_ASSERT(g_sharedMetalContext != nil && "No Metal context. Did you call ImGui_ImplMetal_Init() ?");
g_sharedMetalContext.framebufferDescriptor = [[FramebufferDescriptor alloc] initWithRenderPassDescriptor:renderPassDescriptor];
}