• Advertisement

Archived

This topic is now archived and is closed to further replies.

retrieving depth test and agp memory

This topic is 5316 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Which commands can i use to retrieve the current depth buffer (16,24,32) and available agp memory ?

Share this post


Link to post
Share on other sites
Advertisement
GLint DBBitDepth;

glGetIntegerv(GL_DEPTH_BITS, &DBBitDepth);

should give you what you want.

as for AGP memory - I''ll have a look at it tomorrow - I remember seeing something somewhere. Unfortunately I''m afraid you''re going to have to initialize DirectDraw/Direct3D to do that, but I''m not 100% sure. I''ll get back to you if I dig something up.

Share this post


Link to post
Share on other sites
Maybe you can also pull it out from some win32 register keys but even if this is possible, I guess it would be MUCH better using DirectX.

Share this post


Link to post
Share on other sites

  • Advertisement