X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fcore%2Ftexturecube.h;h=15b598174ae3b233b52846e380603f8093e0a3de;hb=c4aeeced7b397d46772577775bd3a0d6c4706cba;hp=39fe0c699b4b6358fa9efe6c7348504450690742;hpb=9b3bce7ae76ff8c0c81315d2505ea96bf422a318;p=libs%2Fgl.git diff --git a/source/core/texturecube.h b/source/core/texturecube.h index 39fe0c69..15b59817 100644 --- a/source/core/texturecube.h +++ b/source/core/texturecube.h @@ -77,19 +77,11 @@ public: undefined. If storage has already been allocated, does nothing. */ void allocate(unsigned level); -private: - void allocate_(unsigned); - -public: /** Updates the contents of a face. Storage must be defined beforehand. The image data must have dimensions and format matching the defined storage. */ void image(TextureCubeFace face, unsigned level, const void *data); -private: - void image_(TextureCubeFace, unsigned, const void *); - -public: DEPRECATED void image(TextureCubeFace face, unsigned level, PixelComponents comp, DataType type, const void *data); @@ -134,7 +126,7 @@ public: Vector3 get_texel_direction(TextureCubeFace, unsigned, unsigned); virtual AsyncLoader *load(IO::Seekable &, const Resources * = 0) { return 0; } - virtual UInt64 get_data_size() const; + virtual std::uint64_t get_data_size() const; virtual void unload() { } };