[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: OpenGL resolutions



Katie Lucas wrote:

> I don't know if I'm missing something obvious or what, but how on
> earth do you find out what resolutions OpenGL is capable of on a machine?


Have you tried

GLuint size[2];

glGetIntegerv(GL_MAX_VIEWPORT_DIMS, size);

IIRC that should return the maximum width and height the card supports. 
Working out the maximum depth could be a bit trickier though. I don't have 
my programming tomes here it work, I'll check them when I get home :)


Chris
-- 
  .------{ http://www.starforge.co.uk }-----. .--------------------------.
=[     Explorer2260, Designer and Coder     \=\ P: TexMaker, ROACH, site \
=[___You_will_obey_your_corporate_masters___]==[ Stack: EETmTmTRRSS------ ]