Skip to content

Commit

Permalink
Add interface for _sdl2.video classes
Browse files Browse the repository at this point in the history
  • Loading branch information
MightyJosip committed Jan 29, 2025
1 parent c9ffd1c commit 081b032
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src_c/renderer.c
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,14 @@ MODINIT_DEFINE(_renderer)
return NULL;
}

if (PyType_Ready(&pgTexture_Type) < 0) {
return NULL;
}

if (PyType_Ready(&pgImage_Type) < 0) {
return NULL;
}

/* create the module */
module = PyModule_Create(&_module);
if (module == 0) {
Expand Down

0 comments on commit 081b032

Please sign in to comment.