Capture Screen OpenGL & Vista

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?

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! :smiley:

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

BionicBytes, its meant for a C# Application which takes screenshots every x minutes

every x minutes you could press printscreen, or alt+printscreen to capture the active window. :slight_smile:

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

lol, it must be an app for external users, so they wont do that :).

i hear fraps mentioned a lot.