Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ES3 support #91

Closed
bradleybauer opened this issue Sep 12, 2016 · 3 comments
Closed

ES3 support #91

bradleybauer opened this issue Sep 12, 2016 · 3 comments

Comments

@bradleybauer
Copy link

Hi I'm trying to use ES3 in the 'XAML App for OpenGL ES (Universal Apps)' template in visual studio 2015. It throws an exception after it fails to create an eglcontext when the EGL_CONTEXT_CLIENT_VERSION is set to 3 and the gl3 header is included.
I've tested with the non xaml template 'App for OpenGL ES (Universal Apps)' and es3 works fine.
Please Help

@austinkinross
Copy link
Member

Hi, by default the templates set the 'EGL_ANGLE_DISPLAY_ALLOW_RENDER_TO_BACK_BUFFER' attribute to EGL_TRUE, which doesn't support ES3. Could you try setting this attribute to EGL_FALSE in your app? (you'll need to do this in several places)

I'm not sure why the non-XAML template worked for you but XAML didn't- neither work for me when I switch them to ES3 without setting EGL_ANGLE_DISPLAY_ALLOW_RENDER_TO_BACK_BUFFER to EGL_FALSE.

Hope this helps!

@bradleybauer
Copy link
Author

This worked! thanks.

@austinkinross
Copy link
Member

Great!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants