What I've noticed that after the third time a game is launched, the renderer stops properly initializing - I just get a black screen. None of my error checks for the EGL methods failing are tripped.
I do get some interesting errors, though:
Code: Select all
723013802: tvservice-client: Failed to connect to TV service: -1
723014284: cecservice-client: Failed to connected to CEC service: -1
723014527: cecservice-client: Failed to connected to CEC async service: -1
726846705: tvservice-client: Failed to connect to TV service: -1
...
Creating surface...
726860689: Display size is 1680x1050.
tvservice-client: TV service failed to send command get_state length 0, error code -1
Relevant portion of my code (the init() and deinit() functions are what is called, and init is called as init(0, 0)): http://pastebin.com/nhJq9wGN