---
title: Migrating OpenGL code to Metal
framework: metal
role: sampleCode
role_heading: Sample Code
path: metal/migrating-opengl-code-to-metal
---

# Migrating OpenGL code to Metal

Replace your app’s deprecated OpenGL code with Metal.

## Overview

Overview note: This sample code project is associated with WWDC 2019 session 611: Bringing OpenGL Apps to Metal. Configure the sample code project To run the app: Build the project with Xcode 11 or later. Target an iOS device or simulator with iOS 11 or later.

## See Also

### OpenGL

- [Mixing Metal and OpenGL rendering in a view](metal/mixing-metal-and-opengl-rendering-in-a-view.md)
