1
0
Fork 0
mirror of https://github.com/ocornut/imgui.git synced 2026-01-11 00:04:24 +00:00

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

@ -19,6 +19,8 @@
// On computer platform the GLSL version default to "#version 130". On OpenGL ES 3 platform it defaults to "#version 300 es"
// Only override if your GL version doesn't handle this GLSL version. See GLSL version table at the top of imgui_impl_opengl3.cpp.
#pragma once
// Set default OpenGL loader to be gl3w
#if !defined(IMGUI_IMPL_OPENGL_LOADER_GL3W) \
&& !defined(IMGUI_IMPL_OPENGL_LOADER_GLEW) \