Hello Guest

[CLOSED] Missing GL_FRAMEBUFFER_INCOMPLETE_DIMENSIONS in GL30

  • 1 Replies
  • 5046 Views
[CLOSED] Missing GL_FRAMEBUFFER_INCOMPLETE_DIMENSIONS in GL30
« 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
« Last Edit: September 30, 2011, 11:48:19 by kappa »

*

Offline spasi

  • *****
  • 2208
    • WebHotelier
Re: [BUG] Missing GL_FRAMEBUFFER_INCOMPLETE_DIMENSIONS in GL30
« Reply #1 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.