Examples: Add missing include guards (#2166)

This commit is contained in:
Michał Janiszewski
2018-11-01 20:56:36 +01:00
committed by omar
parent ed0f7004d0
commit 2e6e1bec58
12 changed files with 24 additions and 0 deletions

View File

@ -16,6 +16,8 @@
// confuse your GPU driver.
// The GL2 code is unable to reset attributes or even call e.g. "glUseProgram(0)" because they don't exist in that API.
#pragma once
IMGUI_IMPL_API bool ImGui_ImplOpenGL2_Init();
IMGUI_IMPL_API void ImGui_ImplOpenGL2_Shutdown();
IMGUI_IMPL_API void ImGui_ImplOpenGL2_NewFrame();