[Bf-blender-cvs] [cf780e0f670] master: Cleanup: remove unused off-screen drawing struct

Campbell Barton noreply at git.blender.org
Fri Nov 20 02:16:35 CET 2020


Commit: cf780e0f6705f3e8d7f253a3e1288fd15226f81b
Author: Campbell Barton
Date:   Fri Nov 20 12:12:35 2020 +1100
Branches: master
https://developer.blender.org/rBcf780e0f6705f3e8d7f253a3e1288fd15226f81b

Cleanup: remove unused off-screen drawing struct

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

M	source/blender/editors/include/ED_view3d.h

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

diff --git a/source/blender/editors/include/ED_view3d.h b/source/blender/editors/include/ED_view3d.h
index a0246174970..e8aa312f444 100644
--- a/source/blender/editors/include/ED_view3d.h
+++ b/source/blender/editors/include/ED_view3d.h
@@ -99,24 +99,6 @@ typedef struct ViewDepths {
   bool damaged;
 } ViewDepths;
 
-typedef struct ViewDrawOffscreenContext {
-  struct Depsgraph *depsgraph;
-  struct Scene *scene;
-  int drawtype;
-  struct View3D *v3d;
-  struct ARegion *region;
-  int winx;
-  int winy;
-  float viewmat[4][4];
-  float winmat[4][4];
-  bool do_sky;
-  bool is_persp;
-  const char *viewname;
-  const bool do_color_management;
-  struct GPUOffScreen *ofs;
-  struct GPUViewport *viewport;
-} ViewDrawOffscreenContext;
-
 /* Rotate 3D cursor on placement. */
 enum eV3DCursorOrient {
   V3D_CURSOR_ORIENT_NONE = 0,



More information about the Bf-blender-cvs mailing list