Sign in to follow this  

Query Largest FBO, GL_FRAMEBUFFER_UNSUPPORTED_EXT

This topic is 3493 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

Hello I have a problem with FBO: on NVIDIA GeForce 6600 I query my video card for the largest FBO with: glGetIntegerv(GL_MAX_RENDERBUFFER_SIZE_EXT, &iAttribute); and iAttribute contains 4096, as expected. but when I create my FBO with: glGenFramebuffersEXT(1,&m_uiFrameBufferID); glBindFramebufferEXT(GL_FRAMEBUFFER_EXT,m_uiFrameBufferID); glGenRenderbuffersEXT(1, &m_uiDepthBufferID); glBindRenderbufferEXT(GL_RENDERBUFFER_EXT, m_uiDepthBufferID); glRenderbufferStorageEXT(GL_RENDERBUFFER_EXT, GL_DEPTH_COMPONENT, 4096, 4096); glFramebufferRenderbufferEXT(GL_FRAMEBUFFER_EXT, GL_DEPTH_ATTACHMENT_EXT, GL_RENDERBUFFER_EXT, m_uiDepthBufferID); glFramebufferTexture2DEXT(GL_FRAMEBUFFER_EXT,GL_COLOR_ATTACHMENT0_EXT, GL_TEXTURE_2D,m_uiTargetID,0); GLenum uiStatus = glCheckFramebufferStatusEXT(GL_FRAMEBUFFER_EXT); uiStatus is GL_FRAMEBUFFER_UNSUPPORTED_EXT: it allows only 2048 x 2048. I have 2 video card installed on my pc: may be this the cause?? Where's the error??? Thanks in advance Ema.

Share this post


Link to post
Share on other sites
Well, actually shadow maps is not the argument of my post.

At the moment I'm only interested in render to texture.
The strange thing that happens to me is that I ask for the maximum render target supported and actually it does not seem to be supported at all!

mike2343 is right, maybe tomorrow I'll post some GetError output.

Thanks guys!

Share this post


Link to post
Share on other sites

This topic is 3493 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.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this