X-Git-Url: http://git.tdb.fi/?p=libs%2Fgl.git;a=blobdiff_plain;f=source%2Fcore%2Ftexture.h;fp=source%2Fcore%2Ftexture.h;h=2f647b90cae721837f441a59c4c67e5c5f3f31fd;hp=6073cdcb2fcb5e071145731e4c1c88abbf1d02b0;hb=f19366d32cc29287a2730cfba90893e407754081;hpb=f96d553dbf78f9d664d1dbb1fe002fc43f23ad47 diff --git a/source/core/texture.h b/source/core/texture.h index 6073cdcb..2f647b90 100644 --- a/source/core/texture.h +++ b/source/core/texture.h @@ -30,10 +30,10 @@ protected: unsigned levels; public: - Loader(Texture &); - Loader(Texture &, Collection &); + Loader(Texture &t): Loader(t, 0) { } + Loader(Texture &t, Collection &c): Loader(t, &c) { } private: - void init(); + Loader(Texture &, Collection *); virtual void finish();