diff --git a/src/external/rlsw.h b/src/external/rlsw.h index 49f216692..a0cedbb05 100644 --- a/src/external/rlsw.h +++ b/src/external/rlsw.h @@ -2697,7 +2697,7 @@ static inline void sw_quad_clip_and_project(void) sw_vertex_t* polygon = RLSW.vertexBuffer; int* vertexCounter = &RLSW.vertexCounter; - if (sw_polygon_clip(polygon, vertexCounter) && *vertexCounter >= 4) { + if (sw_polygon_clip(polygon, vertexCounter) && *vertexCounter >= 3) { // Transformation to screen space and normalization for (int i = 0; i < *vertexCounter; i++) {