Hi,

I tried it, but nothing change and the same error happen.

Its so confusing.

Thanks.

On Friday, January 25, 2019 at 9:10:13 PM UTC-2, キャロウ マーク wrote:
>
>
>
> On Jan 26, 2019, at 0:22, Paulo Coutinho <[email protected] 
> <javascript:>> wrote:
>
> Hi,
>
> Where you are saying that im using 3.2? Because of this?
>
> SDL_GL_SetAttribute(SDL_GL_CONTEXT_MAJOR_VERSION, 3);
> SDL_GL_SetAttribute(SDL_GL_CONTEXT_MINOR_VERSION, 2);
>
>
> In native SDL to use OpenGL ES, you have to also do
>
>     SDL_GL_SetAttribute(SDL_GL_CONTEXT_PROFILE_MASK, 
> SDL_GL_CONTEXT_PROFILE_ES);
>
> I expect in the Emscripten port this will result in cresting a WebGL 2 
> context since the intended use of SDL2 here is porting native applications.
>
> By the way, if you want to change your native application entirely to 
> OpenGL ES rather than maintaining a special version for the web, you can 
> use ANGLE (an OpenGL ES implementation that runs on D3D, OpenGL & Vulkan) 
> to run it on desktops that don’t have an OpenGL ES implementation.
>
> Regards
>
>     -Mark
>

-- 
You received this message because you are subscribed to the Google Groups 
"emscripten-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to