X-Git-Url: http://git.tdb.fi/?p=libs%2Fgl.git;a=blobdiff_plain;f=source%2Fpixelformat.h;h=14ca580e5fc7e9cbdb22ebc9f5ce6f2725312f0b;hp=17a90d365781095f650109457ec6673506522ac1;hb=0807680edd94a7f14560831db4dd52e4e48d0d19;hpb=b1c758a602262afad23e28ab68d62021a5b1257e diff --git a/source/pixelformat.h b/source/pixelformat.h index 17a90d36..14ca580e 100644 --- a/source/pixelformat.h +++ b/source/pixelformat.h @@ -48,6 +48,8 @@ enum PixelFormat LUMINANCE8 = GL_LUMINANCE8, LUMINANCE_ALPHA = GL_LUMINANCE_ALPHA, LUMINANCE8_ALPHA8 = GL_LUMINANCE8_ALPHA8, + + // Deprecated SLUMINANCE = GL_SLUMINANCE, SLUMINANCE8 = GL_SLUMINANCE8, SLUMINANCE_ALPHA = GL_SLUMINANCE_ALPHA, @@ -63,7 +65,8 @@ PixelFormat pixelformat_from_graphics(Graphics::PixelFormat); PixelFormat storage_pixelformat_from_graphics(Graphics::PixelFormat, bool = false); PixelFormat get_base_pixelformat(PixelFormat); -PixelFormat get_sized_pixelformat(PixelFormat); +PixelFormat get_unsized_pixelformat(PixelFormat); +PixelFormat get_sized_pixelformat(PixelFormat, unsigned = 1); PixelFormat get_srgb_pixelformat(PixelFormat); unsigned get_component_count(PixelFormat); unsigned get_component_size(PixelFormat);