Skip to content

Commit

Permalink
remove debug text overlay
Browse files Browse the repository at this point in the history
  • Loading branch information
almarklein committed Sep 18, 2024
1 parent fa5b77c commit 8e3d56a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions wgpu/gui/qt.py
Original file line number Diff line number Diff line change
Expand Up @@ -410,9 +410,9 @@ def present_image(self, image_data, **kwargs):
painter.drawImage(rect2, image, rect1)

# Uncomment for testing purposes
painter.setPen(QtGui.QColor("#0000ff"))
painter.setFont(QtGui.QFont("Arial", 30))
painter.drawText(100, 100, "This is an image")
# painter.setPen(QtGui.QColor("#0000ff"))
# painter.setFont(QtGui.QFont("Arial", 30))
# painter.drawText(100, 100, "This is an image")


class QWgpuCanvas(WgpuAutoGui, WgpuCanvasBase, QtWidgets.QWidget):
Expand Down

0 comments on commit 8e3d56a

Please sign in to comment.