SDL example: more cleanup to match other examples (#233 #226)

This commit is contained in:
ocornut
2015-07-08 10:27:25 -06:00
parent 22e099366f
commit a14f6696a3
4 changed files with 15 additions and 15 deletions

View File

@@ -1,3 +1,6 @@
// ImGui SDL2 binding with OpenGL
// https://github.com/ocornut/imgui
struct SDL_Window;
typedef union SDL_Event SDL_Event;
@@ -6,5 +9,6 @@ void ImGui_ImplSdl_Shutdown();
void ImGui_ImplSdl_NewFrame(SDL_Window *window);
bool ImGui_ImplSdl_EventCallback(const SDL_Event& event);
// Use if you want to reset your rendering device without losing ImGui state.
void ImGui_ImplSdl_InvalidateDeviceObjects();
bool ImGui_ImplSdl_CreateDeviceObjects();