SDL example: tweaks (#233 #226)

This commit is contained in:
ocornut
2015-07-08 11:42:43 -06:00
parent 19e3c1506f
commit 1845ff4690
3 changed files with 13 additions and 13 deletions

View File

@@ -7,7 +7,7 @@ typedef union SDL_Event SDL_Event;
bool ImGui_ImplSdl_Init(SDL_Window *window);
void ImGui_ImplSdl_Shutdown();
void ImGui_ImplSdl_NewFrame(SDL_Window *window);
bool ImGui_ImplSdl_EventCallback(const SDL_Event& event);
bool ImGui_ImplSdl_ProcessEvent(SDL_Event* event);
// Use if you want to reset your rendering device without losing ImGui state.
void ImGui_ImplSdl_InvalidateDeviceObjects();