PDA

View Full Version : QGLFramebufferObject: Framebuffer incomplete attachment?



cueMan
1st December 2010, 09:10
I keep getting this error: "QGLFramebufferObject: Framebuffer incomplete attachment" from this:



if (QGLFramebufferObject::hasOpenGLFramebufferBlit()) {
QGLFramebufferObjectFormat format;
format.setSamples(4);
format.setAttachment(QGLFramebufferObject::Combine dDepthStencil);

buffer = new QGLFramebufferObject(200, 200, format);


Can anyone tell me what does this error mean? :confused:

Added after 1 43 minutes:

Nevermind, no need for this anymore :)

Saburouta
29th July 2013, 00:15
If you still remember at all, please tell me how you fixed that.

saman_artorious
29th July 2013, 09:16
I keep getting this error: "QGLFramebufferObject: Framebuffer incomplete attachment" from this:



if (QGLFramebufferObject::hasOpenGLFramebufferBlit()) {
QGLFramebufferObjectFormat format;
format.setSamples(4);
format.setAttachment(QGLFramebufferObject::Combine dDepthStencil);

buffer = new QGLFramebufferObject(200, 200, format);


Can anyone tell me what does this error mean? :confused:

Added after 1 43 minutes:

Nevermind, no need for this anymore :)

Remember that your program isn't the only thing using VRAM--probably your OS/Window system and any other programs that might be running are impacting it as well. The video memory might just be fragmented such that there is enough memory available, but not in one contiguous chunk.

Maybe if you split the texture(or whatever) up into four separate framebuffers it works out.