X-Git-Url: http://git.tdb.fi/?p=libs%2Fgl.git;a=blobdiff_plain;f=source%2Ftexture1d.h;h=506356c77676d98cea1a01d52d8a8f373a71f024;hp=5e6f254977f877a20565e131412bb333f6248ab4;hb=4691b76467eadabfb0a7e810b12fe858a36ad519;hpb=cdf928f03f4d8383b8fa978abc4c255a850ec061 diff --git a/source/texture1d.h b/source/texture1d.h index 5e6f2549..506356c7 100644 --- a/source/texture1d.h +++ b/source/texture1d.h @@ -23,12 +23,13 @@ public: private: 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 *);