X-Git-Url: http://git.tdb.fi/?p=libs%2Fgl.git;a=blobdiff_plain;f=source%2Ftexture1d.h;h=506356c77676d98cea1a01d52d8a8f373a71f024;hp=d75167b1f3215b2402c25c0825f47fa8886c2ed3;hb=4e4a3514961d130045619ea74d0bbab71580838c;hpb=e01371d38e290b4c526146fd5d1388bba8201233 diff --git a/source/texture1d.h b/source/texture1d.h index d75167b1..506356c7 100644 --- a/source/texture1d.h +++ b/source/texture1d.h @@ -22,14 +22,14 @@ public: }; private: - PixelFormat ifmt; unsigned width; + unsigned levels; unsigned allocated; public: Texture1D(); - void storage(PixelFormat, unsigned); + void storage(PixelFormat, unsigned, unsigned = 0); void allocate(unsigned); void image(unsigned, PixelFormat, DataType, const void *); void sub_image(unsigned, int, unsigned, PixelFormat, DataType, const void *);