X-Git-Url: http://git.treefish.org/~alex/phys/latlib.git/blobdiff_plain/870fa143f6a703e4f4432097ce8332ab3f15e4ad..c92e802f596346087ee22a76868654f40a199f6e:/culooks_drawing.cpp diff --git a/culooks_drawing.cpp b/culooks_drawing.cpp index 65c7644..cab01b5 100644 --- a/culooks_drawing.cpp +++ b/culooks_drawing.cpp @@ -94,6 +94,8 @@ void culooks::drawing::displayFunc() { culooks::window *Win = getWin(); + glLineWidth(Win->linewidth); + glClearColor(Win->bgcolor[0], Win->bgcolor[1], Win->bgcolor[2], Win->bgcolor[3]); glClear(GL_COLOR_BUFFER_BIT|GL_DEPTH_BUFFER_BIT);