File tree Expand file tree Collapse file tree 2 files changed +10
-6
lines changed
src/libretro/drivers/video/opengl Expand file tree Collapse file tree 2 files changed +10
-6
lines changed Original file line number Diff line number Diff line change @@ -10,6 +10,13 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
1010> breaking changes may be introduced
1111> at any time without warning.
1212
13+ ## [ 0.1.10] - 2024-06-07
14+
15+ ### Fixed
16+
17+ - Fix ` ModernGlVideoDriver.geometry ` having an incorrect return type.
18+ - Fix ` ModernGlVideoDriver ` failing to import in Python 3.11.
19+
1320## [ 0.1.9] - 2024-06-07
1421
1522### Fixed
Original file line number Diff line number Diff line change @@ -140,7 +140,7 @@ def __init__(
140140 or ``None`` to use the built-in default.
141141 :param varyings: The names of the "varyings" (vertex value outputs) to use.
142142 """
143- package_files = resources .files (modules [__name__ ])
143+ package_files = resources .files (modules [__name__ ]. __package__ )
144144 # TODO: Support passing SPIR-V shaders as bytes
145145 match vertex_shader :
146146 case str ():
@@ -468,11 +468,8 @@ def active_context(self) -> HardwareContext | None:
468468
469469 @property
470470 @override
471- def geometry (self ) -> retro_game_geometry :
472- if not self ._system_av_info :
473- raise RuntimeError ("No system AV info has been set" )
474-
475- return deepcopy (self ._system_av_info .geometry )
471+ def geometry (self ) -> retro_game_geometry | None :
472+ return deepcopy (self ._system_av_info .geometry ) if self ._system_av_info else None
476473
477474 @geometry .setter
478475 @override
You can’t perform that action at this time.
0 commit comments