Use alpha_bits instead of cAlphaBits for consistency with X11

master
Graham 5 years ago
parent e71e07adf0
commit b849d1a093
  1. 2
      gl-natives/src/main/c/jaggl.c

@ -665,7 +665,7 @@ JNIEXPORT jboolean JNICALL Java_jaggl_context_choosePixelFormat1(JNIEnv *env, jc
} }
if (SetPixelFormat(jaggl_device, format, &pfd)) { if (SetPixelFormat(jaggl_device, format, &pfd)) {
jaggl_alpha_bits = pfd.cAlphaBits; jaggl_alpha_bits = alpha_bits;
result = JNI_TRUE; result = JNI_TRUE;
goto dsi_free; goto dsi_free;

Loading…
Cancel
Save