S
gluScaleImage
Chapter 17
395
A return value of 0 indicates success. Otherwise gluScaleImage returns a GLU error
code that indicates what the problem is (see gluErrorString).
See the glReadPixels reference page for a description of the acceptable values for format,
typeIn, and typeOut.
Errors
• GLU_INVALID_VALUE is returned if wIn, hIn, wOut, r hOut is negative.
• GLU_INVALID_ENUM is returned if format, typeIn, or typeOut is not one of the
accepted values.
See Also
glDrawPixels,
glReadPixels,
gluBuild1DMipmaps,
gluBuild2DMipmaps,
gluErrorString