X-Git-Url: https://git.dogcows.com/gitweb?p=chaz%2Fyoink;a=blobdiff_plain;f=src%2Fmoof%2Fline.hh;h=0ba6bb368c6d56b628ed8ec9a38862fb91e0abac;hp=35ebf29199afbfa78ef6329fd611f334428892c0;hb=382626aad0a683ed8642a6a807eea743db45f7f8;hpb=1da520638918096276158ecdfaeebc14a3d70be7 diff --git a/src/moof/line.hh b/src/moof/line.hh index 35ebf29..0ba6bb3 100644 --- a/src/moof/line.hh +++ b/src/moof/line.hh @@ -19,13 +19,13 @@ #include #include +#include #include #include #include #include #include #include -#include namespace moof { @@ -225,7 +225,7 @@ struct line : public drawable, public shape void draw(scalar alpha = 0.0) const { - texture::reset_binding(); + image::reset_binding(); glBegin(GL_LINES); glVertex(a); glVertex(b); @@ -255,7 +255,7 @@ struct polygon : public drawable, public shape void draw(scalar alpha = 0.0) const { - texture::reset_binding(); + image::reset_binding(); glBegin(GL_POLYGON); for (int i = 0; i < D; ++i) {