From 40845852b934aac687605a9e8f3f966dc91a5e91 Mon Sep 17 00:00:00 2001 From: omar Date: Sat, 16 Jun 2018 10:23:11 +0200 Subject: [PATCH] Fixed warnings + readme --- examples/README.txt | 4 ++-- imgui.cpp | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/examples/README.txt b/examples/README.txt index 7956e455..52610f4a 100644 --- a/examples/README.txt +++ b/examples/README.txt @@ -122,12 +122,12 @@ List of high-level Frameworks Bindings in this repository: (combine Platform + R imgui_impl_allegro5.cpp imgui_impl_marmalade.cpp -Third-party framework, graphics API and languages bindings: +Third-party framework, graphics API and languages bindings are listed at: https://github.com/ocornut/imgui/wiki/Links Languages: C, C#, ChaiScript, D, Go, Haxe, Java, Lua, Odin, Pascal, PureBasic, Python, Rust, Swift... - Frameworks: Cinder, Cocos2d-x, Emscripten, SFML, GML/GameMaker Studio, Irrlicht, Ogre, + Frameworks: Cinder, Cocoa (OSX), Cocos2d-x, Emscripten, SFML, GML/GameMaker Studio, Irrlicht, Ogre, OpenSceneGraph, openFrameworks, LOVE, NanoRT, Nim Game Lib, Qt3d, SFML, Unreal Engine 4... Miscellaneous: Software Renderer, RemoteImgui, etc. diff --git a/imgui.cpp b/imgui.cpp index beefcfcd..2cdc1900 100644 --- a/imgui.cpp +++ b/imgui.cpp @@ -2254,6 +2254,7 @@ void ImGui::MarkItemValueChanged(ImGuiID id) { // This marking is solely to be able to provide info for IsItemDeactivatedAfterChange(). // ActiveId might have been released by the time we call this (as in the typical press/release button behavior) but still need need to fill the data. + (void)id; // Avoid unused variable warnings when asserts are compiled out. ImGuiContext& g = *GImGui; IM_ASSERT(g.ActiveId == id || g.ActiveId == 0); g.ActiveIdValueChanged = true;