Use alpha_bits instead of cAlphaBits for consistency with X11

master
Graham 5 years ago
parent f48bf54564
commit 5a3ec74a91
  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