|
@@ -11,7 +11,7 @@
|
|
|
// Missing features:
|
|
|
// [ ] Platform: SDL2 handling of IME under Windows appears to be broken and it explicitly disable the regular Windows IME. You can restore Windows IME by compiling SDL with SDL_DISABLE_WINDOWS_IME.
|
|
|
|
|
|
-// You can use unmodified imgui_impl_* files in your project. See examples/ folder for examples of using this.
|
|
|
+// You can use unmodified imgui_impl_* files in your project. See examples/ folder for examples of using this.
|
|
|
// Prefer including the entire imgui/ repository into your project (either as a copy or as a submodule), and only build the backends you need.
|
|
|
// If you are new to Dear ImGui, read documentation from the docs/ folder + read the top of imgui.cpp.
|
|
|
// Read online: https://github.com/ocornut/imgui/tree/master/docs
|
|
@@ -351,7 +351,6 @@ static void ImGui_ImplSDL2_UpdateGamepads()
|
|
|
void ImGui_ImplSDL2_NewFrame(SDL_Window* window)
|
|
|
{
|
|
|
ImGuiIO& io = ImGui::GetIO();
|
|
|
- IM_ASSERT(io.Fonts->IsBuilt() && "Font atlas not built! It is generally built by the renderer backend. Missing call to renderer _NewFrame() function? e.g. ImGui_ImplOpenGL3_NewFrame().");
|
|
|
|
|
|
// Setup display size (every frame to accommodate for window resizing)
|
|
|
int w, h;
|