If ( !CreateEGLContext ( esContext->hWnd, &esContext->eglDisplay, &esContext->eglContext, &esContext->eglSurface, Thank you in advance GLboolean CreateWindow1 ( ESContext *esContext, const char* title, GLint width, GLint height, GLuint flags )ĮGL_ALPHA_SIZE, (flags & ES_WINDOW_ALPHA) ? 8 : EGL_DONT_CARE,ĮGL_DEPTH_SIZE, (flags & ES_WINDOW_DEPTH) ? 8 : EGL_DONT_CARE,ĮGL_STENCIL_SIZE, (flags & ES_WINDOW_STENCIL) ? 8 : EGL_DONT_CARE,ĮGL_SAMPLE_BUFFERS, (flags & ES_WINDOW_MULTISAMPLE) ? 1 : 0, My issues you i want to remove egl.h from this code how is it possible.Ĭan anyone give me any idea. but storing in memory so i am not swapping display and surface buffer. I am not displaying my result on the screen. It creates a window and CreateEGLContext. ![]() In the code i use EGL for initialization for context. In my code i use gl functions i.e #include GLES2/gl2.h and also #include EGL/egl.h I have a simple program on windows using visual studios 2008.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |