| DevIL Documentation | Home | Previous | Next | 
The ilutGLTexImage function binds an image to an OpenGL texture.
ILboolean ilutGLTexImage(
  GLuint Level
);
ilutGLTexImage simply calls glTexImage2D with the current bound image's data and attributes.
ILUT_ILLEGAL_OPERATION - There is currently no image bound. Use ilGenImages and ilBindImage before calling this function.
ilGenImages, ilBindImage, ilActiveMipmap, ilutOglBindTexImage, ilutOglBuildMipmaps, ilutOglScreen, ilutGLScreenie