How to capture screen on Onyx2(IRIX 6.5)?


I want capture the screen to a BMP file, I have found some source code at:

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?



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.

This topic was automatically closed 183 days after the last reply. New replies are no longer allowed.