| 277 | | case ColorDepth.DEPTH_4BIT: flags = ILC_COLOR4; break; |
|---|
| 278 | | default: case ColorDepth.DEPTH_8BIT: flags = ILC_COLOR8; break; |
|---|
| 279 | | case ColorDepth.DEPTH_16BIT: flags = ILC_COLOR16; break; |
|---|
| 280 | | case ColorDepth.DEPTH_24BIT: flags = ILC_COLOR24; break; |
|---|
| 281 | | case ColorDepth.DEPTH_32BIT: flags = ILC_COLOR32; break; |
|---|
| 282 | | } |
|---|
| 283 | | flags |= _depth; |
|---|
| 284 | | flags |= ILC_MASK; // ? |
|---|
| | 277 | case ColorDepth.DEPTH_4BIT: flags |= ILC_COLOR4; break; |
|---|
| | 278 | default: case ColorDepth.DEPTH_8BIT: flags |= ILC_COLOR8; break; |
|---|
| | 279 | case ColorDepth.DEPTH_16BIT: flags |= ILC_COLOR16; break; |
|---|
| | 280 | case ColorDepth.DEPTH_24BIT: flags |= ILC_COLOR24; break; |
|---|
| | 281 | case ColorDepth.DEPTH_32BIT: flags |= ILC_COLOR32; break; |
|---|
| | 282 | } |
|---|