Skip to content

Commit 325a85e

Browse files
committed
Fixed stub for pygame._sdl2.video.Texture.__init__
Added the `depth` argument between `size` and `static` as per the Cython function definition.
1 parent 66c2e75 commit 325a85e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

buildconfig/stubs/pygame/_sdl2/video.pyi

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@ class Texture:
4545
self,
4646
renderer: Renderer,
4747
size: Iterable[int],
48+
depth: int = 0,
4849
static: bool = False,
4950
streaming: bool = False,
5051
target: bool = False,

0 commit comments

Comments
 (0)