Add one more check

meow-7.2.2
Ansariel 2020-10-18 15:19:32 +02:00
parent 857c733acd
commit e4d6a76486
1 changed files with 2 additions and 1 deletions

View File

@ -1171,10 +1171,11 @@ void LLRender::init()
// <FS:Ansariel> Don't ignore OpenGL max line width
GLint range[2];
glGetIntegerv(GL_ALIASED_LINE_WIDTH_RANGE, range);
stop_glerror();
mMaxLineWidthAliased = F32(range[1]);
glGetIntegerv(GL_SMOOTH_LINE_WIDTH_RANGE, range);
mMaxLineWidthSmooth = F32(range[1]);
stop_glerror();
mMaxLineWidthSmooth = F32(range[1]);
// </FS:Ansariel>
}