2010-04-08, 13:53
davilla Wrote:SDL_OPENGLES only works under the svn trunk of SDL 1.3. OpenGL/ES support was added for running SDL under the iPhone. There have not been any stable releases of SDL 1.3 so you would be targeting a moving svn if you used SDL 1.3. Is SDL 1.3 the "extended SDL library" that you are talking about ?
Yes, it is. I've seen it is under construction and that you can use it with OPENGL ES 1.x, so, I suppose it is not useful for XBMC because it uses OpenGL ES 2.0.
My question is: what is the difference between this three uses in XBMC?:
Code:
m_SDLSurface = SDL_SetVideoMode(m_nWidth, m_nHeight, 0, SDL_FULLSCREEN | SDL_DOUBLEBUF)
Code:
m_SDLSurface = SDL_SetVideoMode(m_nWidth, m_nHeight, 0, OPENGL | SDL_FULLSCREEN | SDL_DOUBLEBUF)
Code:
m_SDLSurface = SDL_SetVideoMode(m_nWidth, m_nHeight, 0, OPENGLES |SDL_FULLSCREEN | SDL_DOUBLEBUF)
I don't undestand why XBMC opens with the first option and does not open with the second one.