From: <eli...@us...> - 2009-03-19 21:50:34
|
Revision: 3188 http://java-game-lib.svn.sourceforge.net/java-game-lib/?rev=3188&view=rev Author: elias_naur Date: 2009-03-19 21:50:30 +0000 (Thu, 19 Mar 2009) Log Message: ----------- Linux: Fixed failure to create window on newer ATI mesa drivers Modified Paths: -------------- trunk/LWJGL/src/native/linux/org_lwjgl_opengl_Display.c Modified: trunk/LWJGL/src/native/linux/org_lwjgl_opengl_Display.c =================================================================== --- trunk/LWJGL/src/native/linux/org_lwjgl_opengl_Display.c 2009-03-19 19:50:38 UTC (rev 3187) +++ trunk/LWJGL/src/native/linux/org_lwjgl_opengl_Display.c 2009-03-19 21:50:30 UTC (rev 3188) @@ -306,8 +306,9 @@ return false; cmap = XCreateColormap(disp, parent, vis_info->visual, AllocNone); attribs.colormap = cmap; + attribs.border_pixel = 0; attribs.event_mask = ExposureMask | FocusChangeMask | VisibilityChangeMask | StructureNotifyMask | KeyPressMask | KeyReleaseMask | ButtonPressMask | ButtonReleaseMask | PointerMotionMask; - attribmask = CWColormap | CWEventMask; + attribmask = CWColormap | CWEventMask | CWBorderPixel; if (isLegacyFullscreen(window_mode)) { attribmask |= CWOverrideRedirect; attribs.override_redirect = True; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |