Philipp Klaus Krause wrote:
I'm using Mesa 6.4.1 software rendering (DRI doesn't work with i915 in current Debian unstable). Somehow GL_INDEX_OFFSET doesn't work for me. I have glPixelTransferi(GL_INDEX_OFFSET, . ); followed by calls to glDrawPixels() in my program, but it just matter which value I set for GL_INDEX_OFFSET, the result is always as if it was set to 0. I do not see any OpenGL errors returned by glGetError().
Seems to work for me. I tried Mesa 6.4.2 and CVS head. I don't recall making any changes in that particular code in a long time.
I've attached a hacked version of drawpix.c that uses the 'o' and 'O' keys to change the color index offset. A color index gradient is drawn. Pressing o/O should make it move left/right. Run with '-ci' option. Let me know if it works for you.
-Brian ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Mesa3d-dev mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/mesa3d-dev
