diff --git a/src/native/linux/context.c b/src/native/linux/context.c index e1570d05..39db0ec2 100644 --- a/src/native/linux/context.c +++ b/src/native/linux/context.c @@ -79,7 +79,7 @@ XVisualInfo *getVisualInfoFromPeerInfo(JNIEnv *env, X11PeerInfo *peer_info) { } GLXFBConfig *getFBConfigFromPeerInfo(JNIEnv *env, X11PeerInfo *peer_info) { - int attribs[] = {GLX_FBCONFIG_ID, peer_info->config.glx13_config.config_id}; + int attribs[] = {GLX_FBCONFIG_ID, peer_info->config.glx13_config.config_id, None, None}; int num_elements; GLXFBConfig *configs = glXChooseFBConfig(peer_info->display, peer_info->screen, attribs, &num_elements); if (configs == NULL) {