View Full Version : Capture Screen OpenGL & Vista

08-24-2009, 05:50 AM
Language: .NET C#

- Win XP + Game in openGL = OK (valid screen)
- Win XP + D3D/Software = OK (valid screen)
- Vista/Win7 + Game in openGL = NOT OK (black screen, i see my text i put on the screen though)
- Vista/win7 + D3D/software = OK (valid screen)

Does someone know how i can take a valid screen when running in openGL mode?

08-24-2009, 07:38 AM
You mean taking a screen capture?
On my Vista + OpenGL application you can just press PRINTSCREEN key and Vista puts the image on the clip board. One Vista feature worth having! :D

Win XP has no such facility which is why most apps write their own code to read the GL Window/context directly.

08-24-2009, 07:42 AM
BionicBytes, its meant for a C# Application which takes screenshots every x minutes

08-24-2009, 09:33 AM
every x minutes you could press printscreen, or alt+printscreen to capture the active window. :)

if you want to get REALLY fancy with it i think glReadPixels is your screen grab buddy.

08-24-2009, 09:41 PM
lol, it must be an app for external users, so they wont do that :).

08-25-2009, 04:33 PM
i hear fraps mentioned a lot.