Cleanup: spelling in comments
This commit is contained in:
@@ -862,7 +862,7 @@ void RE_test_break_cb(Render *re, void *handle, bool (*f)(void *handle))
|
||||
|
||||
void RE_gl_context_create(Render *re)
|
||||
{
|
||||
/* Needs to be created in the main ogl thread. */
|
||||
/* Needs to be created in the main OpenGL thread. */
|
||||
re->gl_context = WM_opengl_context_create();
|
||||
/* So we activate the window's one afterwards. */
|
||||
wm_window_reset_drawable();
|
||||
@@ -870,7 +870,7 @@ void RE_gl_context_create(Render *re)
|
||||
|
||||
void RE_gl_context_destroy(Render *re)
|
||||
{
|
||||
/* Needs to be called from the thread which used the ogl context for rendering. */
|
||||
/* Needs to be called from the thread which used the OpenGL context for rendering. */
|
||||
if (re->gl_context) {
|
||||
if (re->gpu_context) {
|
||||
WM_opengl_context_activate(re->gl_context);
|
||||
|
||||
Reference in New Issue
Block a user