mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2026-10-08 02:11:42 +00:00
if triangles are drawn, outlines are disabled
This commit is contained in:
+1
-1
@@ -641,7 +641,7 @@ void dqi_poly::gldraw() {
|
||||
}
|
||||
}
|
||||
|
||||
if(outline) {
|
||||
if(outline && !(flags & POLY_TRIANGLES)) {
|
||||
glhr::color2(outline);
|
||||
glhr::set_depthtest(model_needs_depth() && prio < PPR::SUPERLINE);
|
||||
glDrawArrays(GL_LINE_STRIP, offset, cnt);
|
||||
|
||||
Reference in New Issue
Block a user