Commit dd9188b9 authored by Janis Born's avatar Janis Born

add missing type in getNumberOfChannels

parent b70f0ed0
......@@ -68,6 +68,7 @@ inline GLuint getNumberOfChannels( GLenum _format )
if (_format == GL_RG || _format == GL_RG8I || _format == GL_RG16I || _format == GL_RG32I
|| _format == GL_RG8UI || _format == GL_RG16UI || _format == GL_RG32UI
|| _format == GL_RG16F || _format == GL_RG32F ) return 2;
if (_format == GL_RG_INTEGER ) return 2;
if (_format == GL_RGB8I || _format == GL_RGB16I || _format == GL_RGB32I
|| _format == GL_RGB8UI || _format == GL_RGB16UI || _format == GL_RGB32UI
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment