LWJGL Forum

Archive => Resolved Bugs/RFE => Topic started by: MikOfClassX on September 30, 2011, 09:14:08

Title: [CLOSED] Missing GL_FRAMEBUFFER_INCOMPLETE_DIMENSIONS in GL30
Post by: MikOfClassX on September 30, 2011, 09:14:08
Hello,

While writing by FBO check through glCheckFramebufferStatus() I noticed that GL_FRAMEBUFFER_INCOMPLETE_DIMENSIONS and GL_FRAMEBUFFER_INCOMPLETE_FORMATS defines are no longer in GL30 (apparently they were in place with LWJGL 2.2.1).

Am I missing something ?

For the moment I'm using the following:

EXTFramebufferObject.GL_FRAMEBUFFER_INCOMPLETE_DIMENSIONS_EXT
EXTFramebufferObject.GL_FRAMEBUFFER_INCOMPLETE_FORMATS_EXT
Title: Re: [BUG] Missing GL_FRAMEBUFFER_INCOMPLETE_DIMENSIONS in GL30
Post by: spasi on September 30, 2011, 11:33:11
From the ARB_framebuffer_object spec (which is the one that got promoted to core in GL30):

Quote#11 May 21, 2008: dgkoch
        - deleted FRAMEBUFFER_INCOMPLETE_FORMATS &
          FRAMEBUFFER_INCOMPLETE_DIMENSIONS

Also, GL_FRAMEBUFFER_INCOMPLETE_LAYER_COUNT can never be returned in GL32, I've removed it as well.