X-Git-Url: http://git.tdb.fi/?p=libs%2Fgl.git;a=blobdiff_plain;f=source%2Fcore%2Ftexture.h;h=f6436c0acc8f6e51d7d8679710bbaf47ad29b67b;hp=639b15f5b711c820e8ff448f6d634078e2040ded;hb=7ef75a4c4dbfc437e466381dd67c23357e607b82;hpb=b274dc87db4422498e72823649358114dfca0096 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;