summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarkus Mohrhard <markus.mohrhard@googlemail.com>2014-11-23 01:39:02 +0100
committerJan Holesovsky <kendy@collabora.com>2014-12-02 15:47:36 +0100
commit914915ac6d23373500ee584edeaaabc00fdd6aea (patch)
treee3c7ff836c95714cfe14d94f50e4eccbd6c779ed
parent1d7c80e01429125b0f9f55d130203a8326207e1d (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 cf04d435304a..c678d4afadbe 100644
--- a/vcl/opengl/x11/X11DeviceInfo.cxx
+++ b/vcl/opengl/x11/X11DeviceInfo.cxx
@@ -281,6 +281,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;