[Bf-blender-cvs] [a87253942d3] master: Cleanup: Remove `GHOST_isUpsideDownContext`.

Jeroen Bakker noreply at git.blender.org
Fri Nov 12 09:39:14 CET 2021


Commit: a87253942d3019c1937e07518c374e832f3db01a
Author: Jeroen Bakker
Date:   Fri Nov 12 09:38:25 2021 +0100
Branches: master
https://developer.blender.org/rBa87253942d3019c1937e07518c374e832f3db01a

Cleanup: Remove `GHOST_isUpsideDownContext`.

GHOST API only has a header definition. No implementation or usage.

===================================================================

M	intern/ghost/GHOST_C-api.h

===================================================================

diff --git a/intern/ghost/GHOST_C-api.h b/intern/ghost/GHOST_C-api.h
index 784febe8581..98094cc0669 100644
--- a/intern/ghost/GHOST_C-api.h
+++ b/intern/ghost/GHOST_C-api.h
@@ -728,13 +728,6 @@ extern GHOST_TSuccess GHOST_ReleaseOpenGLContext(GHOST_ContextHandle contexthand
  */
 extern unsigned int GHOST_GetContextDefaultOpenGLFramebuffer(GHOST_ContextHandle contexthandle);
 
-/**
- * Returns whether a context is rendered upside down compared to OpenGL. This only needs to be
- * called if there's a non-OpenGL context, which is really the exception.
- * So generally, this does not need to be called.
- */
-extern int GHOST_isUpsideDownContext(GHOST_ContextHandle contexthandle);
-
 /**
  * Get the OpenGL frame-buffer handle that serves as a default frame-buffer.
  */



More information about the Bf-blender-cvs mailing list