summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarkus Mohrhard <markus.mohrhard@googlemail.com>2014-11-23 01:39:02 +0100
committerMarkus Mohrhard <markus.mohrhard@googlemail.com>2014-11-23 01:39:02 +0100
commite7f09e0dc320de9959f82736055506d75cf37b52 (patch)
tree51cd4d038c9fd259b2809d1a1a5f0bc1d9bee245
parent743f34d9d20c67deecf6d18a5c8e58e83ab35c98 (diff)
block my OpenGL driver
Kendy and I both ahve the same issue related to the driver returning the wrong attribute location in some shaders Change-Id: I496c0f545f7c28c71a94ca8a9ff9fb0b0df46005
-rw-r--r--vcl/opengl/x11/X11DeviceInfo.cxx5
1 files changed, 5 insertions, 0 deletions
diff --git a/vcl/opengl/x11/X11DeviceInfo.cxx b/vcl/opengl/x11/X11DeviceInfo.cxx
index 5f3cc13830bc..cc328b0df7f5 100644
--- a/vcl/opengl/x11/X11DeviceInfo.cxx
+++ b/vcl/opengl/x11/X11DeviceInfo.cxx
@@ -279,6 +279,11 @@ bool X11OpenGLDeviceInfo::isDeviceBlocked()
SAL_WARN("vcl.opengl", "blocked driver version: requires at least mesa 7.10.3");
return true;
}
+ else if (mbIsIntel && version(mnMajorVersion, mnMinorVersion, mnRevisionVersion) == version(9,0,2))
+ {
+ SAL_WARN("vcl.opengl", "blocked driver version: my broken intel driver Mesa 9.0.2");
+ return true;
+ }
else if (mbIsOldSwrast) {
SAL_WARN("vcl.opengl", "blocked driver version: software rasterizer");
return true;