Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Added logic to check for the supported line width range before setting the line width to avoid errors. I also moved the glLineWidth call so that it could be after the call to get the supported line width range for the desired line type. * Moved the glLineWidth call outside the if/else * Moved the code to query line GL_SMOOTH_LINE_WIDTH_RANGE and GL_ALIASED_LINE_WIDTH_RANGE to nv2a_gl_context_init(void) so that it's just called while OpenGL is being initialized. * Removed the lineWidth local variable. It's simpler to just call glLineWidth in the if and else blocks
- Loading branch information