[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Bug#865530: nageru FTBFS on armhf/armel: error: '::glBindTexture' has not been declared



Hi all,

On Thu, Jun 22, 2017 at 11:59:15PM +0300, Adrian Bunk wrote:
> At first sight it actually looks like a bug in qtbase5-dev to me,
> adding the maintainer to Cc:
>
> /usr/include/x86_64-linux-gnu/qt5/QtGui/qopenglfunctions.h
>
> inline void QOpenGLFunctions::glBindTexture(GLenum target, GLuint texture)
> {
> #ifdef QT_OPENGL_ES_2
>     ::glBindTexture(target, texture);   <----------
> #else
>     Q_ASSERT(QOpenGLFunctions::isInitialized(d_ptr));
>     d_ptr->f.BindTexture(target, texture);
> #endif
>     Q_OPENGL_FUNCTIONS_DEBUG
> }

This was fixed in Qt 5.9 upstream, see this commit:
https://code.qt.io/cgit/qt/qtbase.git/commit/?id=7e393280e4d07393

We are already working on a transition to Qt 5.9, so the fix should be
available within a month.

--
Dmitry Shachnev

Attachment: signature.asc
Description: PGP signature


Reply to: