]> git.tdb.fi Git - libs/gl.git/blobdiff - source/pixelformat.h
Refresh lighting and culling uniforms if the camera changes in pop_state
[libs/gl.git] / source / pixelformat.h
index 17a90d365781095f650109457ec6673506522ac1..14ca580e5fc7e9cbdb22ebc9f5ce6f2725312f0b 100644 (file)
@@ -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);