diff options
author | Campbell Barton <ideasman42@gmail.com> | 2021-12-09 12:01:47 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2021-12-09 12:01:47 +0300 |
commit | 7c76bdca1b7195720a769c4911678d85825907fe (patch) | |
tree | 003fab9c0a71af49b89f49eda0076b8018b6cfe8 /source/blender/gpu/GPU_context.h | |
parent | 9f546d690899e05b25a6ef764cc8cf2f5db918b0 (diff) |
Cleanup: move public doc-strings into headers for 'gpu'
Ref T92709
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); |