# How to import OPENGL library

**URL:** <https://discourse.processing.org/t/how-to-import-opengl-library/27387>\
**Category:** Processing\
**Created:** [January 26, 2021, 1:39pm UTC](https://discourse.processing.org/t/how-to-import-opengl-library/27387 "2021-01-26T13:39:22Z")\
**Posts on this page:** 1\
**Showing post:** 6

<div class="post-metadata">

**Author:** ![rbrauer](https://avatars.discourse-cdn.com/v4/letter/r/838e76/32.png) [@rbrauer](https://discourse.processing.org/u/rbrauer)\
**Post date:** [January 26, 2021, 6:15pm UTC](https://discourse.processing.org/t/how-to-import-opengl-library/27387/6 "2021-01-26T18:15:58Z")

</div>

I don’t have a Mac either, but I happened to see this on the forum earlier. TLDR try adding a frameRate call after size.

```auto
size(800, 800, P3D);
frameRate(60);

```

> [@Problems with P2D and P3D renderers with new Apple M1 processor](https://discourse.processing.org/t/problems-with-p2d-and-p3d-renderers-with-new-apple-m1-processor/27287):
>
> I have encountered an issue when trying to execute sketches that function and export correctly on an older MacBook Pro when these sketches are attempted to be run on a new MacBook Pro using a new M1 processor. I have tried to use two different versions of Processing. 1) the stable 3.5.4 release (17 Jan 2021) and 2) pre-release 4.0 alpha 3 (17 Jan 2021). Both appear to have similar issues. The sketches fail - i.e. they only open a blank window and the following is displayed in the console: 0 …

---

_[View the full topic](https://discourse.processing.org/t/how-to-import-opengl-library/27387)._
