# Using OpenGL "core" profile by default on macOS

**URL:** https://forum.castle-engine.io/t/using-opengl-core-profile-by-default-on-macos/747
**Category:** News
**Created:** [February 22, 2023, 4:05pm UTC](https://forum.castle-engine.io/t/using-opengl-core-profile-by-default-on-macos/747 "2023-02-22T16:05:05Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![michalis](https://forum.castle-engine.io/user_avatar/forum.castle-engine.io/michalis/32/3_2.png) [@michalis](https://forum.castle-engine.io/u/michalis)
#### Post date: [February 22, 2023, 4:05pm UTC](https://forum.castle-engine.io/t/using-opengl-core-profile-by-default-on-macos/747/1 "2023-02-22T16:05:05Z")

</div>

| |
| |
| |
| |
| |
| |

Thanks to recent rendering code improvements, we can finally request “core” profile on macOS, to get latest OpenGL version (4.1 in my case) instead of being stuck with legacy OpenGL 2.1 on mac.

We request now a modern context on mac, both with `TCastleWindow` and `TCastleControl`. This applies to all our software — CGE editor, view3dscene, all your applications you build with CGE.
