Displaying 1 result from an estimated 1 matches for "gl_unsigned_int_8_8_8_8_rev".
2007 May 23
1
[PATCH] Fix imageBufferToTexture for MSBFirst platforms.
...*screen,
unsigned int width,
unsigned int height)
{
-#if IMAGE_BYTE_ORDER == MSBFirst
- return imageToTexture (screen, texture, image, width, height,
- GL_BGRA, GL_UNSIGNED_BYTE);
-#else
return imageToTexture (screen, texture, image, width, height,
GL_BGRA, GL_UNSIGNED_INT_8_8_8_8_REV);
-#endif
}
Bool
--
1.5.2-rc3.GIT
--
Earthling Michel D?nzer | http://tungstengraphics.com
Libre software enthusiast | Debian, X and DRI developer