Skip to content

Commit

Permalink
Move up the shader program so it's next to the general driver infrast…
Browse files Browse the repository at this point in the history
…ructure
  • Loading branch information
JesseTG committed May 8, 2024
1 parent 79e779c commit 2da6d27
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/libretro/drivers/video/opengl/moderngl.py
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,7 @@ def __init__(
self._system_av_info: retro_system_av_info | None = None
self._shared = False
self._context: Context | None = None
self._shader_program: moderngl.Program | None = None
self._vao: VertexArray | None = None
self._vbo: Buffer | None = None

Expand All @@ -109,7 +110,6 @@ def __init__(
self._hw_render_texture: Texture | None = None
self._hw_render_rb_ds: Renderbuffer | None = None
self._cpu_texture: Texture | None = None
self._shader_program: moderngl.Program | None = None
self._get_proc_address = retro_hw_get_proc_address_t(self.__get_proc_address)
self._get_hw_framebuffer = retro_hw_get_current_framebuffer_t(self.__get_hw_framebuffer)

Expand Down

0 comments on commit 2da6d27

Please sign in to comment.