117
117
int /*long*/ screen = OS.gdk_screen_get_default ();
118
118
int /*long*/ gdkvisual = OS.gdk_x11_screen_lookup_visual (screen, vinfo.visualid);
120
//context = GLX.glXCreateContext (xDisplay, info, share == null ? 0 : share.context, true);
121
context = GLX.glXCreateContext (xDisplay, vinfo, 0, true);
120
context = GLX.glXCreateContext (xDisplay, vinfo, share, true);
122
121
if (context == 0) SWT.error (SWT.ERROR_NO_HANDLES);
123
122
GdkWindowAttr attrs = new GdkWindowAttr ();