blob: f51128b5d18a59f224d9c2373daa5255246c0de9 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
|
--- third_party/swiftshader/src/OpenGL/libEGL/Surface.cpp.orig 2021-04-14 18:43:08 UTC
+++ third_party/swiftshader/src/OpenGL/libEGL/Surface.cpp
@@ -357,7 +357,7 @@ bool WindowSurface::checkForResize()
int windowWidth = windowAttributes.width;
int windowHeight = windowAttributes.height;
- #elif defined(__linux__)
+ #elif defined(__linux__) || defined(__FreeBSD__)
// Non X11 linux is headless only
int windowWidth = 100;
int windowHeight = 100;
|