opengl: Drop GLTexture::update(QImage, QPoint, QRect) overload
This commit is contained in:
parent
e504f1a711
commit
fdff6588c6
2 changed files with 0 additions and 6 deletions
|
@ -146,11 +146,6 @@ void GLTexture::setSize(const QSize &size)
|
||||||
d->updateMatrix();
|
d->updateMatrix();
|
||||||
}
|
}
|
||||||
|
|
||||||
void GLTexture::update(const QImage &image, const QPoint &offset, const QRect &src)
|
|
||||||
{
|
|
||||||
update(image, src.isEmpty() ? image.rect() : src, offset);
|
|
||||||
}
|
|
||||||
|
|
||||||
void GLTexture::update(const QImage &image, const QRegion ®ion, const QPoint &offset)
|
void GLTexture::update(const QImage &image, const QRegion ®ion, const QPoint &offset)
|
||||||
{
|
{
|
||||||
if (image.isNull() || isNull()) {
|
if (image.isNull() || isNull()) {
|
||||||
|
|
|
@ -84,7 +84,6 @@ public:
|
||||||
*/
|
*/
|
||||||
QMatrix4x4 matrix(TextureCoordinateType type) const;
|
QMatrix4x4 matrix(TextureCoordinateType type) const;
|
||||||
|
|
||||||
void update(const QImage &image, const QPoint &offset = QPoint(0, 0), const QRect &src = QRect());
|
|
||||||
void update(const QImage &image, const QRegion ®ion, const QPoint &offset = QPoint());
|
void update(const QImage &image, const QRegion ®ion, const QPoint &offset = QPoint());
|
||||||
void bind();
|
void bind();
|
||||||
void unbind();
|
void unbind();
|
||||||
|
|
Loading…
Reference in a new issue