Hi Joey I achieved a result by using SDL 2 with EGL enabled,
see a sample app for a derived from osg project ( it is almost osg just compiled to be used under emscripten ), hope the code helps https://github.com/Kurdakov/emscripten_OSG/blob/master/examples/osgviewerSDL2EmscriptenSTATIC/osgviewerSDL2Emscripten.cpp in case you are interested - I used ANGLE ad OpenGL ES 2.0 provider ( not any wgl functions ) but to force SDL 2 to use ANGLE in file \SDL-2.0.x\src\video\windows\SDL_windowsopengl.c in function void WIN_GL_InitExtensions(_THIS) I had to comment following lines if (HasExtension("WGL_EXT_create_context_es2_profile", extensions)) { _this->gl_data->HAS_WGL_EXT_create_context_es2_profile = SDL_TRUE; } hope those steps are not intimidating. Regards Sergey On Wed, Sep 10, 2014 at 9:22 AM, Chris Hanson <xe...@alphapixel.com> wrote: > Unfortunately, GLES2 on Windows is not so easy, because there really isn't > a GraphicWindowEGL implementation that would work on Windows. > > I started writing one, but got bogged down and had to abandon it. > > You might consider not compiling the GraphicsWindowWin32 code and just > using GraphicsWindowEmbedded and using EGL functions in your app's code to > create a context, and then pass it to OSG. > > Also, we might be able to help you more if we knew what exactly you were > trying to accomplish in the end. > > _______________________________________________ > osg-users mailing list > osg-users@lists.openscenegraph.org > http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org > >
_______________________________________________ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org