Describe the bug
Setting dpi_scaling to stretch does not properly handle high dpi setups with custom cursor.
pyglet 2.1.5
Example image, store as cursor.png
Reproduce
import pyglet
pyglet.options.dpi_scaling = "stretch"
cursor_img = pyglet.image.load("cursor.png")
cursor = pyglet.window.ImageMouseCursor(cursor_img, 32, 32)
window = pyglet.window.Window()
window.set_mouse_cursor(cursor)
@window.event
def on_draw():
window.clear()
pyglet.app.run()