diff options
author | Takumi ASAKI <asaki@sra.co.jp> | 2018-07-12 14:32:28 +0900 |
---|---|---|
committer | Takumi ASAKI <asaki@sra.co.jp> | 2018-07-17 01:51:43 +0000 |
commit | 37bd2400fa0f36c8f7ef7cbb06d0f05e15356b5b (patch) | |
tree | 530fe1ee7b60a9bcd54219fa7f498e1530c79f3c | |
parent | 435d1d53bd61491010dbb2130a27e35cd9798965 (diff) |
Fix incorrect warning message in QOpenGLBuffer
Change-Id: I932aa10814049e78da35ea12b7552bf676545c89
Reviewed-by: Giuseppe D'Angelo <giuseppe.dangelo@kdab.com>
Reviewed-by: Laszlo Agocs <laszlo.agocs@qt.io>
-rw-r--r-- | src/gui/opengl/qopenglbuffer.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/opengl/qopenglbuffer.cpp b/src/gui/opengl/qopenglbuffer.cpp index 66cc2b5ce8..69c2baa8d9 100644 --- a/src/gui/opengl/qopenglbuffer.cpp +++ b/src/gui/opengl/qopenglbuffer.cpp @@ -371,7 +371,7 @@ void QOpenGLBuffer::write(int offset, const void *data, int count) { #ifndef QT_NO_DEBUG if (!isCreated()) - qWarning("QOpenGLBuffer::allocate(): buffer not created"); + qWarning("QOpenGLBuffer::write(): buffer not created"); #endif Q_D(QOpenGLBuffer); if (d->guard && d->guard->id()) |