# How to tell what version of OpenGL my VTK app is using & Apple's deprecation of OpenGL

**URL:** https://discourse.vtk.org/t/how-to-tell-what-version-of-opengl-my-vtk-app-is-using-apples-deprecation-of-opengl/2093
**Category:** Support
**Created:** [November 13, 2019, 2:58pm UTC](https://discourse.vtk.org/t/how-to-tell-what-version-of-opengl-my-vtk-app-is-using-apples-deprecation-of-opengl/2093 "2019-11-13T14:58:29Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![msmerps](https://discourse.vtk.org/user_avatar/discourse.vtk.org/msmerps/32/1559_2.png) [@msmerps](https://discourse.vtk.org/u/msmerps)
#### Post date: [November 13, 2019, 2:58pm UTC](https://discourse.vtk.org/t/how-to-tell-what-version-of-opengl-my-vtk-app-is-using-apples-deprecation-of-opengl/2093/1 "2019-11-13T14:58:29Z")

</div>

Hi all,  
How can I tell which version of OpenGL my VTK app is using? And is VTK performance on recent versions of OSX going to suffer now that Apple no longer supports OpenGL?  
thank you in advance,  
-M

---

<div class="post-metadata">

### Author: ![Michael](https://discourse.vtk.org/user_avatar/discourse.vtk.org/michael/32/16_2.png) [@Michael](https://discourse.vtk.org/u/Michael)
#### Post date: [November 14, 2019, 9:59am UTC](https://discourse.vtk.org/t/how-to-tell-what-version-of-opengl-my-vtk-app-is-using-apples-deprecation-of-opengl/2093/2 "2019-11-14T09:59:22Z")

</div>

Hi,  
You can use the method `ReportCapabilities` on `vtkRenderWindow`.  
Regarding OSX, there are some internal discussions but we are planning to continue support of this platform in the next VTK releases.

---

<div class="post-metadata">

### Author: ![msmerps](https://discourse.vtk.org/user_avatar/discourse.vtk.org/msmerps/32/1559_2.png) [@msmerps](https://discourse.vtk.org/u/msmerps)
#### Post date: [November 19, 2019, 3:18am UTC](https://discourse.vtk.org/t/how-to-tell-what-version-of-opengl-my-vtk-app-is-using-apples-deprecation-of-opengl/2093/3 "2019-11-19T03:18:11Z")

</div>

Thank you for your help, Michael. I tried to use the ReportCapabilities method as you suggested:

var OutStr=RenderWindow.ReportCapabilities();

And OutStr equals “no device context”. RenderWindow is an instance of vtkRenderWindow. What am I doing wrong?
