Libretro-gl in XBMC

Hello, I’m not sure if this is the right place to ask, nevertheless I thought I try it here :slight_smile: Currently working on getting mupen64 to work with XBMC as frontend. XBMC crashes on startup. The crash occurs in libretro/opengl_state_machine.c: 552 I tried commenting out this code and receive a crash when sglBindFramebuffer is called. Therefore I modified XBMC to initialize it’s opengl framebuffer earlier and implemented the hw_get_current_framebuffer callback to expose the framebuffer for the libretro-core - still crashing. The initial crash on line 552 namely when calling glDisableVertexAttribArray(i); is still confusing me. Does this indicate a general problem with the opengl context of the XBMC frontend? Thank you for any pointers.

Best Regards

You’ll probably get more responses in #retroarch on Freenode IRC.

sry for the late reply. thanks for the hint, I’m still trying around and will drop in irc when having questions.