[Bf-blender-cvs] [3e41ea03be8] soc-2019-openxr: Cleanup: Move struct forward declaration to top of header

Julian Eisel noreply at git.blender.org
Mon Mar 2 17:13:39 CET 2020


Commit: 3e41ea03be8d48d2ba0da1af4fbd11d771ef3920
Author: Julian Eisel
Date:   Mon Mar 2 14:31:01 2020 +0100
Branches: soc-2019-openxr
https://developer.blender.org/rB3e41ea03be8d48d2ba0da1af4fbd11d771ef3920

Cleanup: Move struct forward declaration to top  of header

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

M	source/blender/windowmanager/wm.h

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

diff --git a/source/blender/windowmanager/wm.h b/source/blender/windowmanager/wm.h
index 931ac58d50e..a75fcd3c6c0 100644
--- a/source/blender/windowmanager/wm.h
+++ b/source/blender/windowmanager/wm.h
@@ -25,6 +25,7 @@
 #define __WM_H__
 
 struct ARegion;
+struct GPUOffScreen;
 struct ReportList;
 struct wmWindow;
 
@@ -99,7 +100,6 @@ void wm_open_init_load_ui(wmOperator *op, bool use_prefs);
 void wm_open_init_use_scripts(wmOperator *op, bool use_prefs);
 
 /* wm_draw.c */
-struct GPUOffScreen;
 void wm_draw_offscreen_texture_parameters(struct GPUOffScreen *offscreen);
 
 #ifdef WITH_OPENXR



More information about the Bf-blender-cvs mailing list