CodeCleanup: move include statements before extern "C"
Mistake on recent changes that would fail when used in CPP.
This commit is contained in:
@@ -24,16 +24,16 @@
|
||||
* \ingroup bke
|
||||
*/
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
#include "DNA_object_enums.h"
|
||||
|
||||
#include "DNA_view3d_types.h"
|
||||
|
||||
#include "IMB_imbuf_types.h"
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
typedef struct ImBuf *(*SequencerDrawView)(struct Depsgraph *depsgraph,
|
||||
struct Scene *scene,
|
||||
struct View3DShading *shading_override,
|
||||
|
||||
@@ -24,6 +24,11 @@
|
||||
#ifndef __ED_VIEW3D_OFFSCREEN_H__
|
||||
#define __ED_VIEW3D_OFFSCREEN_H__
|
||||
|
||||
#include "DNA_view3d_types.h"
|
||||
#include "DNA_object_enums.h"
|
||||
|
||||
#include "IMB_imbuf_types.h"
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
@@ -37,10 +42,6 @@ struct GPUOffScreen;
|
||||
struct GPUViewport;
|
||||
struct View3DShading;
|
||||
|
||||
#include "DNA_view3d_types.h"
|
||||
#include "DNA_object_enums.h"
|
||||
#include "IMB_imbuf_types.h"
|
||||
|
||||
void ED_view3d_draw_offscreen(struct Depsgraph *depsgraph,
|
||||
struct Scene *scene,
|
||||
eDrawType drawtype,
|
||||
|
||||
Reference in New Issue
Block a user