X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fcore%2Ftexture.h;h=f6436c0acc8f6e51d7d8679710bbaf47ad29b67b;hb=e70662d7812464159f2e47f4bebb69d88f89ae93;hp=639b15f5b711c820e8ff448f6d634078e2040ded;hpb=b274dc87db4422498e72823649358114dfca0096;p=libs%2Fgl.git diff --git a/source/core/texture.h b/source/core/texture.h index 639b15f5..f6436c0a 100644 --- a/source/core/texture.h +++ b/source/core/texture.h @@ -70,17 +70,9 @@ public: }; protected: - enum FormatSwizzle - { - NO_SWIZZLE, - R_TO_LUMINANCE, - RG_TO_LUMINANCE_ALPHA, - RGB_TO_BGR - }; - PixelFormat format; PixelFormat storage_fmt; - FormatSwizzle swizzle; + ComponentSwizzle swizzle; bool use_srgb_format; bool auto_gen_mipmap;