Change-Id: Ia4f136e964e4e0ca326f462b0996ef3d1b843cf6
Reviewed-by: Samuel Rødal <samuel.rodal@nokia.com>
return glMapBufferARB(d->type, access);
#endif
Q_UNUSED(access);
- qWarning("QOpenGLBuffer::map(): pending implementation");
+ static bool warned = false;
+ if (!warned) {
+ qWarning("QOpenGLBuffer::map(): pending implementation");
+ warned = true;
+ }
return 0;
}
return false;
return glUnmapBufferARB(d->type) == GL_TRUE;
#endif
- qWarning("QOpenGLBuffer::map(): pending implementation");
+ static bool warned = false;
+ if (!warned) {
+ qWarning("QOpenGLBuffer::map(): pending implementation");
+ warned = true;
+ }
return 0;
}