diff options
Diffstat (limited to 'doc/c/view.rst')
-rw-r--r-- | doc/c/view.rst | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/c/view.rst b/doc/c/view.rst index faf926f..ea261ff 100644 --- a/doc/c/view.rst +++ b/doc/c/view.rst @@ -167,8 +167,8 @@ If you need to perform some setup using the OpenGL API, there are two ways to do so. The OpenGL context is active when -:enumerator:`PUGL_CREATE <PuglEventType.PUGL_CREATE>` and -:enumerator:`PUGL_DESTROY <PuglEventType.PUGL_DESTROY>` +:enumerator:`PUGL_REALIZE <PuglEventType.PUGL_REALIZE>` and +:enumerator:`PUGL_UNREALIZE <PuglEventType.PUGL_UNREALIZE>` events are dispatched, so things like creating and destroying shaders and textures can be done then. |