From Art Tevs, "Following

two lines has to be included into the Image.cpp in the
computeNumComponents(...) method:

case(GL_RGBA16F_ARB): return 4;
case(GL_RGBA32F_ARB): return 4;"
This commit is contained in:
Robert Osfield
2007-09-24 09:26:21 +00:00
parent cf2c9da74d
commit bd68958877

View File

@@ -253,6 +253,8 @@ unsigned int Image::computeNumComponents(GLenum pixelFormat)
case(GL_RGB32UI_EXT): return 3;
case(GL_RGB16F_ARB): return 3;
case(GL_RGB32F_ARB): return 3;
case(GL_RGBA16F_ARB): return 4;
case(GL_RGBA32F_ARB): return 4;
case(GL_RGBA): return 4;
case(GL_BGRA): return 4;
case(GL_LUMINANCE): return 1;