qglframebuffer.cpp compile problem

Zack Rusin zack at kde.org
Mon Apr 2 07:32:23 BST 2007


On Sunday 01 April 2007 09:41, Jason Harris wrote:
> Hello,
>
> I had to make two small changes to qglframebuffer.cpp to get it to compile.
>
> (1) I need to add "#define GL_RENDERBUFFER_DEPTH_SIZE_EXT 0x8D54" to the
> top of the file.  This define was one of a long list of defines that
> existed in this file in Qt-4.2, but they have been removed for Qt-4.3.
>
> (2) I asked about this one last July[1], but it generated no response.
> There's a reference to GL_FRAMEBUFFER_INCOMPLETE_ATTACHMENT_EXT, which I
> need to change to GL_FRAMEBUFFER_INCOMPLETE_ATTACHMENTS_EXT (i.e., I have
> to pluralize "attachment").
>
> Any ideas why I need to make these changes?  Perhaps my GL system needs an
> update (but shouldn't configure check that?)

nah, it sounds like you have installed your Qt headers and the compilation 
picks up the wrong qgl_p.h (that file includes qglextensions_p.h in which we 
define all those things).




More information about the kde-core-devel mailing list