Getting device Caps - use DirectX?

hi peeps,

I need to determine the device capabilities (maximum texture size, etc.). I can get information from the extensions string about supported features - but would like information about metrics (amount of video RAm etc.). Should I use DirectX to enumerate device caps? I’m using OpenGL for rendering.

Thanks.

Don’t expect the values reported by DirectX to be valid for OpenGL.

Use the glGet-commands to get implementation specific numbers from OpenGL.