[API] Add a mechanism for Dear ImGui assertion callbacks (#100)
* Syncing wip to github * Assertion callback works * Restore example that does not crash * Add comment in build script. Merge with upstream. * Fix assert always triggering * Resolve jvm env at runtime to prevent looking up bad stack address * Fixed EXCEPTION_ACCESS_VIOLATION within native code after callback was complete. * Fix linting errors * Change ImGui to Dear ImGui Co-authored-by: SpaiR <klimbetoo@gmail.com> * Move jvm native layer to its own header/source Co-authored-by: SpaiR <klimbetoo@gmail.com>
This commit is contained in:
1 parent
adf9d5fe4e
commit
74203bc333
15 files changed
+286
-24
No files matched your search
@@ -7,8 +7,6 @@ namespace Jni
|
||||
{
|
||||
void InitCommon(JNIEnv* env);
|
||||
|
||||
JNIEnv* GetEnv();
|
||||
|
||||
void ImVec2Cpy(JNIEnv* env, ImVec2* src, jobject dst);
|
||||
void ImVec2Cpy(JNIEnv* env, ImVec2 src, jobject dst);
|
||||
|
||||
|
||||
Reference in new issue
Block a user