[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 :)

Rather annoyingly these seem to return 1600x1200 whatever I run it on....