Skip to content

Commit

Permalink
Fixed missing bounding boxes when "rend-dev-mobj-bbox" = 1. construct…
Browse files Browse the repository at this point in the history
…BBox() was not returning the name of the display list used.
  • Loading branch information
danij committed Dec 15, 2008
1 parent bf08d8a commit d385c39
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions doomsday/engine/portable/src/rend_main.c
Expand Up @@ -3855,9 +3855,8 @@ static DGLuint constructBBox(DGLuint name, float br)
DGL_TexCoord2f(1.0f, 0.0f); DGL_Vertex3f( 1.0f,-1.0f-br,-1.0f-br); // BR
}
DGL_End();
DGL_EndList();

return name;
return DGL_EndList();
}

return 0;
Expand Down

0 comments on commit d385c39

Please sign in to comment.