chris_c
Member
- Joined
- Jun 25, 2010
- Messages
- 393
- Age
- 56
I notice from here
http://hg.libsdl.org/SDL/file/67acc9ab60ff/src/video/SDL_video.c
and other places in sdl's source that there are specific code to handle the pandora including opening a GLES context as if you were opening a GL one as you would normally with sdl
However...
if I use SDL_OPENGL (which seems to be handled in the source) I get failed loading libGL.so.1 from SDL_GetError when calling SDL_SetVideoMode
SDL_GL_LoadLibrary("/usr/lib/libGLES_CM.so"); simply gives Could not retrieve OpenGL functions
so then I pulled the code down and had a look and its different from the web view for example in SDL_video.c
99 #if SDL_VIDEO_DRIVER_PANDORA
100 &PND_bootstrap,
101 #endif
102 #if SDL_VIDEO_DRIVER_ANDROID
103 &Android_bootstrap,
104 #endif
are missing :-o
so I assume web hg view is showing sdl 1.3? and in fact there is actually no gles support in sdl at the moment? but there will be in 1.3?
http://hg.libsdl.org/SDL/file/67acc9ab60ff/src/video/SDL_video.c
and other places in sdl's source that there are specific code to handle the pandora including opening a GLES context as if you were opening a GL one as you would normally with sdl
However...
if I use SDL_OPENGL (which seems to be handled in the source) I get failed loading libGL.so.1 from SDL_GetError when calling SDL_SetVideoMode
SDL_GL_LoadLibrary("/usr/lib/libGLES_CM.so"); simply gives Could not retrieve OpenGL functions
so then I pulled the code down and had a look and its different from the web view for example in SDL_video.c
99 #if SDL_VIDEO_DRIVER_PANDORA
100 &PND_bootstrap,
101 #endif
102 #if SDL_VIDEO_DRIVER_ANDROID
103 &Android_bootstrap,
104 #endif
are missing :-o
so I assume web hg view is showing sdl 1.3? and in fact there is actually no gles support in sdl at the moment? but there will be in 1.3?