Problem at CEGUI GL3(OpenGLES2) Renderer

For help with general CEGUI usage:
- Questions about the usage of CEGUI and its features, if not explained in the documentation.
- Problems with the CMAKE configuration or problems occuring during the build process/compilation.
- Errors or unexpected behaviour.

Moderators: CEGUI MVP, CEGUI Team

YaronCT
CEGUI Team
Posts: 448
Joined: Fri Jun 19, 2015 12:18
Location: Kiryat-Bialik, Israel

Re: Problem at CEGUI GL3(OpenGLES2) Renderer

Postby YaronCT » Wed Aug 03, 2016 10:36

:D

YaronCT
CEGUI Team
Posts: 448
Joined: Fri Jun 19, 2015 12:18
Location: Kiryat-Bialik, Israel

Re: Problem at CEGUI GL3(OpenGLES2) Renderer

Postby YaronCT » Thu Aug 04, 2016 10:34

U mean that if u call "epoxy_egl_get_current_gl_context_api" in your last code (PowerVR's sample) (somewhere after calling "CEGUI::OpenGL3Renderer::bootstrapSystem") it returns EGL_NONE?

And if u do the same thing in the cegui sample framework it returns "EGL_OPENGL_ES_API"?

sh.song
Not too shy to talk
Not too shy to talk
Posts: 21
Joined: Fri Jul 17, 2015 01:35

Re: Problem at CEGUI GL3(OpenGLES2) Renderer

Postby sh.song » Fri Aug 05, 2016 02:48

Hi!
All of cause is context attributes! I didn't apply context attributes when i create egl context.

Code: Select all

EGLint contextAttributes[] =
{
   EGL_CONTEXT_CLIENT_VERSION, 2,
   EGL_NONE
};
eglContext = eglCreateContext(eglDisplay, eglConfig, 0, contextAttributes);

Thanks! :P

YaronCT
CEGUI Team
Posts: 448
Joined: Fri Jun 19, 2015 12:18
Location: Kiryat-Bialik, Israel

Re: Problem at CEGUI GL3(OpenGLES2) Renderer

Postby YaronCT » Fri Aug 05, 2016 08:42

:D


Return to “Help”

Who is online

Users browsing this forum: No registered users and 31 guests