| 953 | } |
| 954 | |
| 955 | static bool IsFormatR(dmGraphics::TextureFormat format) |
| 956 | { |
| 957 | switch(format) |
| 958 | { |
| 959 | case dmGraphics::TEXTURE_FORMAT_LUMINANCE: |
| 960 | case dmGraphics::TEXTURE_FORMAT_R_BC4: |
| 961 | return true; |
| 962 | default: |
| 963 | return false; |
| 964 | } |
| 965 | } |
| 966 | |
| 967 | uint16_t GetMipmapSize(uint16_t size_0, uint8_t mipmap) |
| 968 | { |
no outgoing calls
no test coverage detected