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:
I'm not expecting anyone to comb through my code and figure out what I'm doing wrong, but does anyone know what these errors could be from? I have no idea what they mean.
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