This commit is contained in:
parent
f0fc3fa174
commit
66ea53f523
2 changed files with 2 additions and 1 deletions
|
|
@ -27,6 +27,7 @@ void MwLLCairoLine(struct _MwLLCairo handle, MwPoint* points, MwLLColor color) {
|
||||||
|
|
||||||
cairo_set_antialias(handle.front_cairo_back, CAIRO_ANTIALIAS_NONE);
|
cairo_set_antialias(handle.front_cairo_back, CAIRO_ANTIALIAS_NONE);
|
||||||
cairo_set_line_cap(handle.front_cairo_back, CAIRO_LINE_CAP_SQUARE);
|
cairo_set_line_cap(handle.front_cairo_back, CAIRO_LINE_CAP_SQUARE);
|
||||||
|
cairo_set_line_width(handle.front_cairo_back, 1);
|
||||||
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);
|
||||||
cairo_new_path(handle.front_cairo_back);
|
cairo_new_path(handle.front_cairo_back);
|
||||||
for(i = 0; i < 2; i++) {
|
for(i = 0; i < 2; i++) {
|
||||||
|
|
|
||||||
|
|
@ -1920,7 +1920,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
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue