[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



On Thu, Jun 22, 2017 at 02:41:17PM +0200, Steinar H. Gunderson wrote:
> On Thu, Jun 22, 2017 at 03:35:33PM +0300, Adrian Bunk wrote:
> > Am armel and armhf, Qt is compiled with OpenGL ES instead of full OpenGL.
> 
> Interesting. But isn't this a bug in qcustomplot, not nageru?

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
}



cu
Adrian

-- 

       "Is there not promise of rain?" Ling Tan asked suddenly out
        of the darkness. There had been need of rain for many days.
       "Only a promise," Lao Er said.
                                       Pearl S. Buck - Dragon Seed


Reply to: