Skip to content

Commit

Permalink
gfx/3d: disable wireframe width setting on Macs
Browse files Browse the repository at this point in the history
  • Loading branch information
rr- committed Jan 22, 2025
1 parent 6396ae4 commit 3870012
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/libtrx/gfx/3d/3d_renderer.c
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,10 @@ static void M_ApplyUniforms(GFX_3D_RENDERER *const renderer)
static void M_Flush(GFX_3D_RENDERER *const renderer)
{
GFX_3D_VertexStream_RenderPending(&renderer->vertex_stream);
#ifndef __APPLE__
glLineWidth(renderer->config->line_width);
GFX_GL_CheckError();
#endif
glPolygonMode(
GL_FRONT_AND_BACK,
renderer->config->enable_wireframe ? GL_LINE : GL_FILL);
Expand Down

0 comments on commit 3870012

Please sign in to comment.