Pārlūkot izejas kodu

Fixed Linux build.

Brucey 3 gadi atpakaļ
vecāks
revīzija
33fc9f4805
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  1. 1 1
      glgraphics.mod/glgraphics.linux.c

+ 1 - 1
glgraphics.mod/glgraphics.linux.c

@@ -281,7 +281,7 @@ BBGLContext *bbGLGraphicsCreateGraphics( int width,int height,int depth,int hz,B
 		XF86VidModeSwitchToMode(xdisplay,xscreen,mode);
 		XF86VidModeSetViewPort(xdisplay,xscreen,0,0);
 
-		int border = (flags & FLAGS_BORDERLESS) ? 0 | CWBorderPixel;
+		int border = (flags & FLAGS_BORDERLESS) ? 0 : CWBorderPixel;
 
 		window=XCreateWindow(
 			xdisplay,