Skip to content

Commit

Permalink
Restore imconfig.h to original imgui state.
Browse files Browse the repository at this point in the history
  • Loading branch information
microstrain-sam committed Jul 28, 2023
1 parent d697bfe commit fcb0237
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions imconfig.h
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,7 @@
// Using Dear ImGui via a shared library is not recommended, because of function call overhead and because we don't guarantee backward nor forward ABI compatibility.
// DLL users: heaps and globals are not shared across DLL boundaries! You will need to call SetCurrentContext() + SetAllocatorFunctions()
// for each static/DLL boundary you are calling from. Read "Context and Memory Allocators" section of imgui.cpp for more details.
#ifdef WIN32_
#define IMGUI_API __declspec( dllexport )
#endif
//#define IMGUI_API __declspec( dllexport )
//#define IMGUI_API __declspec( dllimport )

//---- Don't define obsolete functions/enums/behaviors. Consider enabling from time to time after updating to avoid using soon-to-be obsolete function/names.
Expand Down Expand Up @@ -93,7 +91,7 @@
operator MyVec4() const { return MyVec4(x,y,z,w); }
*/
//---- ...Or use Dear ImGui's own very basic math operators.
#define IMGUI_DEFINE_MATH_OPERATORS
//#define IMGUI_DEFINE_MATH_OPERATORS

//---- Use 32-bit vertex indices (default is 16-bit) is one way to allow large meshes with more than 64K vertices.
// Your renderer backend will need to support it (most example renderer backends support both 16/32-bit indices).
Expand Down

0 comments on commit fcb0237

Please sign in to comment.