X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Ftexture2d.h;h=6c089ed2fc675c27ed40edf9d07f85cffe1dd019;hb=f33a98b1a044c8ac7b12778cbca6c4a124875e4a;hp=485867dd14f48e3a7dce09b7a4d9600856f152a9;hpb=759612fd66034135c13134ffb8199514204b9684;p=libs%2Fgl.git diff --git a/source/texture2d.h b/source/texture2d.h index 485867dd..6c089ed2 100644 --- a/source/texture2d.h +++ b/source/texture2d.h @@ -45,7 +45,7 @@ public: /** Allocates storage for the texture. The contents are initially undefined. If storage has already been allocated, does nothing. */ void allocate(unsigned level); - + /** Uploads an image to the texture. Storage must be defined beforehand. The image data must have dimensions and format compatible with the defined storage. */