# EGL binding to GL API fails

**URL:** <https://forums.developer.nvidia.com/t/egl-binding-to-gl-api-fails/35001>\
**Category:** OpenGL\
**Created:** [October 1, 2014, 10:59am UTC](https://forums.developer.nvidia.com/t/egl-binding-to-gl-api-fails/35001 "2014-10-01T10:59:16Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![nestumkiller](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@nestumkiller](https://forums.developer.nvidia.com/u/nestumkiller)\
**Post date:** [October 1, 2014, 10:59am UTC](https://forums.developer.nvidia.com/t/egl-binding-to-gl-api-fails/35001/1 "2014-10-01T10:59:16Z")

</div>

I’m trying to bind EGL to a pure GL context - eglBindAPI( EGL\_OPENGL\_API ) -, but I’m getting a FALSE in return. When querying for the supported client APIs all I get is OpenGL\_ES. My driver version is 343.22.  
The reason I need GL (rather than GLES) is because I’m using OpenCL and need to share some buffers for CL processing (doing cross-platform development btw). The only extension available is cl\_khr\_gl\_sharing and not cl\_khr\_egl\_sharing.

---

<div class="post-metadata">

**Author:** ![busta78](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@busta78](https://forums.developer.nvidia.com/u/busta78)\
**Post date:** [October 2, 2014, 8:09pm UTC](https://forums.developer.nvidia.com/t/egl-binding-to-gl-api-fails/35001/2 "2014-10-02T20:09:45Z")

</div>

On which platform? Its possible that the platform you are using doesn’t support the OpenGL API with EGL support.

---

<div class="post-metadata">

**Author:** ![nestumkiller](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@nestumkiller](https://forums.developer.nvidia.com/u/nestumkiller)\
**Post date:** [October 9, 2014, 4:55pm UTC](https://forums.developer.nvidia.com/t/egl-binding-to-gl-api-fails/35001/3 "2014-10-09T16:55:08Z")

</div>

Sorry, for some reason I didn’t notice you have replied :(. I’m running Ubuntu 12.04. I assume I’m not doing something silly (famous last words …) since the query string doesn’t actually return OpenGL as an API I can bind EGL to. I can only assume it’s not supported…
