1. Gabriel Jacobo
  2. ignifuga

Commits

Gabriel Jacobo  committed 94173a6

Wrong variable name used to retrieve Render Driver Info

  • Participants
  • Parent commits c0f5a30
  • Branches default

Comments (0)

Files changed (1)

File backends/sdl/Renderer.pyx

View file
         cdef SDL_RendererInfo renderer_info
         #debug("FOUND %d RENDERERS" % num_renderers)
         for ri in range(num_renderers):
-            SDL_GetRenderDriverInfo(renderer_index, &renderer_info)
+            SDL_GetRenderDriverInfo(ri, &renderer_info)
             #debug("RENDERER %s" % renderer_info.name)
             if renderer_info.name==bytes('opengl'):
                 renderer_index = ri