# In the directory ThirdParty\\glad of VTK9.4, there is no gles.h file. Does vtk9.4 support gles?

**URL:** https://discourse.vtk.org/t/in-the-directory-thirdparty-glad-of-vtk9-4-there-is-no-gles-h-file-does-vtk9-4-support-gles/14988
**Category:** Support
**Created:** [December 9, 2024, 11:57am UTC](https://discourse.vtk.org/t/in-the-directory-thirdparty-glad-of-vtk9-4-there-is-no-gles-h-file-does-vtk9-4-support-gles/14988 "2024-12-09T11:57:06Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![Ynnnnnn](https://discourse.vtk.org/user_avatar/discourse.vtk.org/ynnnnnn/32/9587_2.png) [@Ynnnnnn](https://discourse.vtk.org/u/Ynnnnnn)
#### Post date: [December 9, 2024, 11:57am UTC](https://discourse.vtk.org/t/in-the-directory-thirdparty-glad-of-vtk9-4-there-is-no-gles-h-file-does-vtk9-4-support-gles/14988/1 "2024-12-09T11:57:07Z")

</div>

In the directory ThirdParty\glad of VTK9.4, there is no gles.h file.

Does vtk9.4 support gles?

---

<div class="post-metadata">

### Author: ![ben.boeckel](https://discourse.vtk.org/letter_avatar_proxy/v4/letter/b/ea5d25/32.png) [@ben.boeckel](https://discourse.vtk.org/u/ben.boeckel)
#### Post date: [March 3, 2025, 10:19pm UTC](https://discourse.vtk.org/t/in-the-directory-thirdparty-glad-of-vtk9-4-there-is-no-gles-h-file-does-vtk9-4-support-gles/14988/2 "2025-03-03T22:19:46Z")

</div>

Cc: @jaswantp

---

<div class="post-metadata">

### Author: ![jaswantp](https://discourse.vtk.org/user_avatar/discourse.vtk.org/jaswantp/32/10046_2.png) [@jaswantp](https://discourse.vtk.org/u/jaswantp)
#### Post date: [March 4, 2025, 2:25am UTC](https://discourse.vtk.org/t/in-the-directory-thirdparty-glad-of-vtk9-4-there-is-no-gles-h-file-does-vtk9-4-support-gles/14988/3 "2025-03-04T02:25:14Z")

</div>

GLES builds were not tested except for emscripten (which provides gles headers). Looks like the gles headers need to be added for glad.

What platform do you want to use GLES in? Linux? Android?

For android, it’s enabled in EGL at [https://gitlab.kitware.com/vtk/vtk/-/blob/master/Rendering/OpenGL2/vtkEGLRenderWindow.cxx?ref\_type=heads#L442](https://gitlab.kitware.com/vtk/vtk/-/blob/master/Rendering/OpenGL2/vtkEGLRenderWindow.cxx?ref_type=heads#L442).
