aboutsummaryrefslogtreecommitdiff
path: root/www/chromium/files/patch-third__party_swiftshader_src_OpenGL_libEGL_Surface.cpp
blob: df1553e767ecdf96b74239efd4d0b41121573a66 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
--- third_party/swiftshader/src/OpenGL/libEGL/Surface.cpp.orig	2022-02-07 13:39:41 UTC
+++ third_party/swiftshader/src/OpenGL/libEGL/Surface.cpp
@@ -349,7 +349,7 @@ bool WindowSurface::checkForResize()
 
 		int windowWidth = windowAttributes.width;
 		int windowHeight = windowAttributes.height;
-	#elif defined(__linux__)
+	#elif defined(__linux__) || defined(__OpenBSD__) || defined(__FreeBSD__)
 		// Non X11 linux is headless only
 		int windowWidth = 100;
 		int windowHeight = 100;