diff options
Diffstat (limited to 'source/blender/gpu/GPU_context.h')
-rw-r--r-- | source/blender/gpu/GPU_context.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/source/blender/gpu/GPU_context.h b/source/blender/gpu/GPU_context.h index 82f13424502..5189fa1ae41 100644 --- a/source/blender/gpu/GPU_context.h +++ b/source/blender/gpu/GPU_context.h @@ -44,8 +44,14 @@ void GPU_backend_exit(void); typedef struct GPUContext GPUContext; GPUContext *GPU_context_create(void *ghost_window); +/** + * To be called after #GPU_context_active_set(ctx_to_destroy). + */ void GPU_context_discard(GPUContext *); +/** + * Ctx can be NULL. + */ void GPU_context_active_set(GPUContext *); GPUContext *GPU_context_active_get(void); |