Skip to content
Permalink
Browse files

Fix plugins not working with non-MSVC builds

  • Loading branch information...
UnknownShadow200 committed Oct 5, 2019
1 parent aa05582 commit e5f8678140660e1eff24ea3604f0f4bc800386bf
Showing with 2 additions and 3 deletions.
  1. +1 −2 src/Core.h
  2. +1 −1 src/Window.c
@@ -65,8 +65,7 @@ typedef unsigned __INTPTR_TYPE__ cc_uintptr;
#define CC_VAR __attribute__((visibility("default")))
#endif
#endif
#define CC_HAS_VARS

#define CC_HAS_MISC
#ifdef __BIG_ENDIAN__
#define CC_BIG_ENDIAN
#endif
@@ -3180,7 +3180,7 @@ void GLContext_Update(void) {
/* TODO: do we need to do something here.... ? */
}
bool GLContext_TryRestore(void) {
return !emscripten_is_webgl_context_lost(ctx_handle);
return !emscripten_is_webgl_context_lost(NULL);
}

void GLContext_Free(void) {

0 comments on commit e5f8678

Please sign in to comment.
You can’t perform that action at this time.