PDA

View Full Version : How to capture screen on Onyx2(IRIX 6.5)?



kouwww
03-17-2002, 04:49 PM
Hi,

I want capture the screen to a BMP file, I have found some source code at: http://www.opengl.org/discussion_boards/ubb/Forum4/HTML/000182.html

It work well when I run the screenshot.c under NT.
But it can't work under Onyx2 (IRIX 6.5), I can only get a black BMP file.

Who can help me?

Thanks.

Kou

kouwww@163.com

rts
03-17-2002, 09:15 PM
That code should be platform independent, unless there is an endian-ness issue.

If there is an endian-ness issue, I'm sure you could figure out how to fix it.