[Bf-blender-cvs] [b79e5ae4f26] master: GHOST: Add missing C_API function to header file.
Jeroen Bakker
noreply at git.blender.org
Tue Nov 22 12:47:44 CET 2022
Commit: b79e5ae4f26d79bb1c76ffbdda6a7dfbb3f4e577
Author: Jeroen Bakker
Date: Tue Nov 22 12:45:49 2022 +0100
Branches: master
https://developer.blender.org/rBb79e5ae4f26d79bb1c76ffbdda6a7dfbb3f4e577
GHOST: Add missing C_API function to header file.
- GHOST_GetDrawingContext was missing.
===================================================================
M intern/ghost/GHOST_C-api.h
===================================================================
diff --git a/intern/ghost/GHOST_C-api.h b/intern/ghost/GHOST_C-api.h
index a8dae232d8b..3aac4ac960b 100644
--- a/intern/ghost/GHOST_C-api.h
+++ b/intern/ghost/GHOST_C-api.h
@@ -560,6 +560,13 @@ extern GHOST_TDrawingContextType GHOST_GetDrawingContextType(GHOST_WindowHandle
extern GHOST_TSuccess GHOST_SetDrawingContextType(GHOST_WindowHandle windowhandle,
GHOST_TDrawingContextType type);
+/**
+ * Returns the drawing context used in the this window.
+ * \param windowhandle: The handle to the window.
+ * \return The window drawing context.
+ */
+extern GHOST_ContextHandle GHOST_GetDrawingContext(GHOST_WindowHandle windowhandle);
+
/**
* Sets the title displayed in the title bar.
* \param windowhandle: The handle to the window.
More information about the Bf-blender-cvs
mailing list