Skip to content

Commit

Permalink
Docs tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
sebjameswml committed Nov 28, 2024
1 parent 9f25da5 commit d6133f1
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions docs/ref/visual/visual.md
Original file line number Diff line number Diff line change
Expand Up @@ -449,12 +449,12 @@ and `morph::VisualModel` automatically obtain the correct context
whenever they require it.

Note that the `morph::Visual` constructors will set the OpenGL
context, and then release it when they are complete. VisualModel
'Setup' code such as VisualModel::finalize and VisualModel::addLabel
will also obtain and then release the context. Other calls, especually
render calls, that require the context may acquire it when called and
may not release it. It is usually unnecessary to release the context
for one window before setting it for another.
context, and then release it when they complete. VisualModel 'Setup'
code such as `VisualModel::finalize` and `VisualModel::addLabel` will
also obtain and then release the context. Other calls (such as the
render calls) that require the context may acquire it when called and
may not release it when they return. It is usually unnecessary to
release the context for one window before setting it for another.

## OpenGL Version

Expand Down

0 comments on commit d6133f1

Please sign in to comment.