|
|
@ -110,6 +110,10 @@ |
|
|
|
#pragma clang diagnostic ignored "-Wold-style-cast" // warning: use of old-style cast
|
|
|
|
#pragma clang diagnostic ignored "-Wold-style-cast" // warning: use of old-style cast
|
|
|
|
#pragma clang diagnostic ignored "-Wsign-conversion" // warning: implicit conversion changes signedness
|
|
|
|
#pragma clang diagnostic ignored "-Wsign-conversion" // warning: implicit conversion changes signedness
|
|
|
|
#endif |
|
|
|
#endif |
|
|
|
|
|
|
|
#if defined(__GNUC__) |
|
|
|
|
|
|
|
#pragma GCC diagnostic push |
|
|
|
|
|
|
|
#pragma GCC diagnostic ignored "-Wcast-function-type" // warning: cast between incompatible function types
|
|
|
|
|
|
|
|
#endif |
|
|
|
|
|
|
|
|
|
|
|
// GL includes
|
|
|
|
// GL includes
|
|
|
|
#if defined(IMGUI_IMPL_OPENGL_ES2) |
|
|
|
#if defined(IMGUI_IMPL_OPENGL_ES2) |
|
|
@ -885,6 +889,9 @@ void ImGui_ImplOpenGL3_DestroyDeviceObjects() |
|
|
|
ImGui_ImplOpenGL3_DestroyFontsTexture(); |
|
|
|
ImGui_ImplOpenGL3_DestroyFontsTexture(); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#if defined(__GNUC__) |
|
|
|
|
|
|
|
#pragma GCC diagnostic pop |
|
|
|
|
|
|
|
#endif |
|
|
|
#if defined(__clang__) |
|
|
|
#if defined(__clang__) |
|
|
|
#pragma clang diagnostic pop |
|
|
|
#pragma clang diagnostic pop |
|
|
|
#endif |
|
|
|
#endif |
|
|
|