fix line
All checks were successful
pyrite-dev/milsko/pipeline/head This commit looks good

This commit is contained in:
Nishi 2026-09-22 11:41:23 +09:00
commit 941f7f0075
2 changed files with 3 additions and 3 deletions

View file

@ -31,9 +31,9 @@ void MwLLCairoLine(struct _MwLLCairo handle, MwPoint* points, MwLLColor color) {
cairo_set_source_rgba(handle.front_cairo_back, color->common.red / 255.0, color->common.green / 255.0, color->common.blue / 255.0, 1.0); cairo_set_source_rgba(handle.front_cairo_back, color->common.red / 255.0, color->common.green / 255.0, color->common.blue / 255.0, 1.0);
for(i = 0; i < 2; i++) { for(i = 0; i < 2; i++) {
if(i == 0) { if(i == 0) {
cairo_move_to(handle.front_cairo_back, points[i].x, points[i].y); cairo_move_to(handle.front_cairo_back, points[i].x + 0.5, points[i].y + 0.5);
} else { } else {
cairo_line_to(handle.front_cairo_back, points[i].x, points[i].y); cairo_line_to(handle.front_cairo_back, points[i].x + 0.5, points[i].y + 0.5);
} }
} }
cairo_stroke(handle.front_cairo_back); cairo_stroke(handle.front_cairo_back);

View file

@ -1986,7 +1986,7 @@ static int MwLLWaylandCallInitImpl(void) {
#ifdef MW_OPENGL #ifdef MW_OPENGL
if(getenv("WSLENV") || getenv("WSL_DISTRO_NAME")) { if(getenv("WSLENV") || getenv("WSL_DISTRO_NAME")) {
loadWayland = 0; //loadWayland = 0;
} }
#endif #endif