Remove unused component_location variable

master
Graham 4 years ago
parent 0a20f4954c
commit 01548cb617
  1. 5
      gl-natives/src/main/c/jaggl.c

@ -1146,11 +1146,6 @@ JNIEXPORT jboolean JNICALL Java_jaggl_context_choosePixelFormat1(JNIEnv *env, jc
goto pix_free;
}
jmethodID component_location = (*env)->GetMethodID(env, component_cls, "getLocationOnScreen", "()Ljava/awt/Point;");
if (!component_location) {
goto pix_free;
}
jclass container_cls = (*env)->FindClass(env, "java/awt/Container");
if (!container_cls) {
goto pix_free;

Loading…
Cancel
Save