Kaydet (Commit) daaef8cb authored tarafından Luboš Luňák's avatar Luboš Luňák

abort() in dbgutil mode if OpenGL shader compilation fails

Otherwise it's quite annoying to miss e.g. a typo in the shader code
if the code falls back to another way of handling the operation.

Change-Id: I585be85f739929f0f422dc031a36dc83077f6820
Reviewed-on: https://gerrit.libreoffice.org/70771
Tested-by: Jenkins
Reviewed-by: 's avatarLuboš Luňák <l.lunak@collabora.com>
üst 85847b1b
......@@ -135,6 +135,10 @@ namespace {
}
else
SAL_WARN("vcl.opengl", rDetail << " shader: " << rName << " compile " << nId << " failed without error log");
#ifdef DBG_UTIL
abort();
#endif
return 0;
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment