Fix build on macOS

A previous commit accidentally renamed platformInfo field in a DSI
struct field access to platform_info. It was only intended to rename the
platformInfo local variable to fit in with the naming scheme.
master
Graham 4 years ago
parent 1b38465923
commit d5598a93cf
  1. 2
      gl-natives/src/main/c/jaggl.c

@ -1090,7 +1090,7 @@ JNIEXPORT jboolean JNICALL Java_jaggl_context_choosePixelFormat1(JNIEnv *env, jc
result = JNI_TRUE; result = JNI_TRUE;
#elif defined(__APPLE__) && defined(__MACH__) #elif defined(__APPLE__) && defined(__MACH__)
if (!dsi->platform_info) { if (!dsi->platformInfo) {
goto dsi_free; goto dsi_free;
} }

Loading…
Cancel
Save