opengl: Drop GLTexture::update(QImage, QPoint, QRect) overload

This commit is contained in:
Vlad Zahorodnii 2024-08-15 15:17:18 +03:00
parent e504f1a711
commit fdff6588c6
2 changed files with 0 additions and 6 deletions

View file

@ -146,11 +146,6 @@ void GLTexture::setSize(const QSize &size)
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 &region, const QPoint &offset)
{
if (image.isNull() || isNull()) {

View file

@ -84,7 +84,6 @@ public:
*/
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 &region, const QPoint &offset = QPoint());
void bind();
void unbind();