X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Ftexture.h;h=71192fef06c42416b8a9dadc26f1fe2109626a67;hb=9087cc0a372b9c739f15398c7a22c0a6eb5041bb;hp=adcfa76b7245276078af013622f343dca8ac65f0;hpb=a8a04ddd95e57a8f103c04dba317addc32866689;p=libs%2Fgl.git diff --git a/source/texture.h b/source/texture.h index adcfa76b..71192fef 100644 --- a/source/texture.h +++ b/source/texture.h @@ -83,9 +83,8 @@ public: ~Texture(); protected: - static DataType get_alloc_type(PixelFormat); void set_internal_format(PixelFormat); - PixelFormat get_upload_format(PixelFormat) const; + PixelComponents get_upload_components(PixelComponents) const; void apply_swizzle(); void set_parameter_i(GLenum, int) const;