mirror of
https://github.com/Strum355/mcshader-lsp.git
synced 2025-08-04 00:49:17 +00:00
fix nvidia diagnostics line offset, once and for all (hopefully)
This commit is contained in:
parent
3c58af95fa
commit
27d1d7b34e
1 changed files with 1 additions and 1 deletions
|
@ -40,7 +40,7 @@ impl<'a, T: opengl::ShaderValidator + ?Sized> DiagnosticsParser<'a, T> {
|
|||
fn get_line_offset(&self) -> u32 {
|
||||
*self.line_offset.get_or_init(|| match self.vendor_querier.vendor().as_str() {
|
||||
"ATI Technologies" => 0,
|
||||
_ => 2,
|
||||
_ => 1,
|
||||
})
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue