display: Fix typos in docstrings

[skip ci]
This commit is contained in:
rdb 2021-02-15 12:46:29 +01:00
parent 592f776f76
commit a704d2c228
5 changed files with 7 additions and 7 deletions

View File

@ -191,7 +191,7 @@ GraphicsEngine::
/**
* Specifies how future objects created via make_gsg(), make_buffer(), and
* make_window() will be threaded. This does not affect any already-created
* make_output() will be threaded. This does not affect any already-created
* objects.
*/
void GraphicsEngine::
@ -2095,7 +2095,7 @@ do_draw(GraphicsOutput *win, GraphicsStateGuardian *gsg, DisplayRegion *dr, Thre
}
/**
* An internal function called by make_window() and make_buffer() and similar
* An internal function called by make_output() and make_buffer() and similar
* functions to add the newly-created GraphicsOutput object to the engine's
* list of windows, and to request that the window be opened.
*/

View File

@ -63,7 +63,7 @@ static CubeFaceDef cube_faces[6] = {
/**
* Normally, the GraphicsOutput constructor is not called directly; these are
* created instead via the GraphicsEngine::make_window() function.
* created instead via the GraphicsEngine::make_output() function.
*/
GraphicsOutput::
GraphicsOutput(GraphicsEngine *engine, GraphicsPipe *pipe,

View File

@ -14,7 +14,7 @@
/**
* Returns true if the window has not yet been opened, or has been fully
* closed, false if it is open. The window is not opened immediately after
* GraphicsEngine::make_window() is called; nor is it closed immediately after
* GraphicsEngine::make_output() is called; nor is it closed immediately after
* GraphicsEngine::remove_window() is called. Either operation may take a
* frame or two.
*/
@ -34,7 +34,7 @@ is_fullscreen() const {
/**
* If this flag is false, the window is redrawn only after it has received a
* recent "unexpose" or "draw" event from the underlying windowing systme. If
* recent "unexpose" or "draw" event from the underlying windowing system. If
* this flag is true, the window is redrawn every frame regardless. Setting
* this false may prevent the window from redrawing unnecessarily when it is
* hidden, and may play nicer with other windows on the desktop, but may

View File

@ -27,7 +27,7 @@ TypeHandle GraphicsWindow::_type_handle;
/**
* Normally, the GraphicsWindow constructor is not called directly; these are
* created instead via the GraphicsEngine::make_window() function.
* created instead via the GraphicsEngine::make_output() function.
*/
GraphicsWindow::
GraphicsWindow(GraphicsEngine *engine, GraphicsPipe *pipe,

View File

@ -27,7 +27,7 @@ TypeHandle SubprocessWindow::_type_handle;
/**
* Normally, the SubprocessWindow constructor is not called directly; these
* are created instead via the GraphicsEngine::make_window() function.
* are created instead via the GraphicsEngine::make_output() function.
*/
SubprocessWindow::
SubprocessWindow(GraphicsEngine *engine, GraphicsPipe *pipe,