]> git.tdb.fi Git - libs/gl.git/blobdiff - source/pixelformat.cpp
Remove the deprecated ProgramBuilder class
[libs/gl.git] / source / pixelformat.cpp
index 94bf9716660d8c56054ce55fa7809e519695ca3f..87191c3423122aefde6b7e38110daae5d28cb4d0 100644 (file)
@@ -271,10 +271,10 @@ unsigned get_component_count(PixelComponents comp)
 {
        switch(comp)
        {
-       case STENCIL_INDEX:
-       case DEPTH_COMPONENT:
        case RED:
        case LUMINANCE:
+       case DEPTH_COMPONENT:
+       case STENCIL_INDEX:
                return 1;
        case RG:
        case LUMINANCE_ALPHA: