mirror of
https://github.com/ocornut/imgui.git
synced 2026-01-11 00:04:24 +00:00
Amend a1b8457
This commit is contained in:
parent
a1b8457cb5
commit
752603bc70
1 changed files with 5 additions and 0 deletions
|
|
@ -7,6 +7,11 @@
|
||||||
// #define IMGUI_IMPLEMENTATION
|
// #define IMGUI_IMPLEMENTATION
|
||||||
// Before you include this file in *one* C++ file to create the implementation.
|
// Before you include this file in *one* C++ file to create the implementation.
|
||||||
// Using this in your project will leak the contents of imgui_internal.h and ImVec2 operators in this compilation unit.
|
// Using this in your project will leak the contents of imgui_internal.h and ImVec2 operators in this compilation unit.
|
||||||
|
|
||||||
|
#ifdef IMGUI_IMPLEMENTATION
|
||||||
|
#define IMGUI_DEFINE_MATH_OPERATORS
|
||||||
|
#endif
|
||||||
|
|
||||||
#include "../../imgui.h"
|
#include "../../imgui.h"
|
||||||
#ifdef IMGUI_ENABLE_FREETYPE
|
#ifdef IMGUI_ENABLE_FREETYPE
|
||||||
#include "../../misc/freetype/imgui_freetype.h"
|
#include "../../misc/freetype/imgui_freetype.h"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue