X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fmaterial.h;h=3a65f339344787512f59597c1483a3596ec4376c;hb=28e0d3968ae72b0df0e7193a417eb30d1097f734;hp=9af86a700b6f5502c12b9b240f307263311a800a;hpb=f14435e58bfa0fa697a06ba9a454bb30cd37d9d8;p=libs%2Fgl.git diff --git a/source/material.h b/source/material.h index 9af86a70..3a65f339 100644 --- a/source/material.h +++ b/source/material.h @@ -12,7 +12,7 @@ namespace GL { Stores OpenGL material properties. Since OpenGL does not support material objects, application of material is done with several calls to glMaterial. */ -class Material: public Bindable +class Material: public BindableWithDefault { public: class Loader: public DataFile::ObjectLoader @@ -47,8 +47,6 @@ public: const Color &get_emission() const { return emission; } float get_shininess() const { return shininess; } void bind() const; - - static void unbind(); }; } // namespace GL