diff options
author | Tamito Kajiyama <rd6t-kjym@asahi-net.or.jp> | 2010-12-17 00:11:39 +0300 |
---|---|---|
committer | Tamito Kajiyama <rd6t-kjym@asahi-net.or.jp> | 2010-12-17 00:11:39 +0300 |
commit | c4e41d7371522b46fb14cf8d809d5e3d470a1457 (patch) | |
tree | 786e9b1548c484ca2f92f77d638a10978f07d526 /source/blender/freestyle/FRS_freestyle.h | |
parent | 31897978338936c6d6149e0a64d93a52a30132bc (diff) |
Fix for compilation errors with CMake on Linux. Patch provided by
Écrivain through the BA Freestyle thread. Thanks!
Diffstat (limited to 'source/blender/freestyle/FRS_freestyle.h')
-rw-r--r-- | source/blender/freestyle/FRS_freestyle.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/source/blender/freestyle/FRS_freestyle.h b/source/blender/freestyle/FRS_freestyle.h index ae8adb86c1c..9a40fc3e019 100644 --- a/source/blender/freestyle/FRS_freestyle.h +++ b/source/blender/freestyle/FRS_freestyle.h @@ -41,6 +41,8 @@ extern "C" { #include "BKE_context.h" #include "BKE_object.h" + struct Render; + extern Scene *freestyle_scene; extern float freestyle_viewpoint[3]; extern float freestyle_mv[4][4]; @@ -48,14 +50,14 @@ extern "C" { extern int freestyle_viewport[4]; // Rendering - void FRS_initialize(); + void FRS_initialize(void); void FRS_set_context(bContext* C); int FRS_is_freestyle_enabled(struct SceneRenderLayer* srl); void FRS_init_stroke_rendering(struct Render* re); struct Render* FRS_do_stroke_rendering(struct Render* re, struct SceneRenderLayer* srl); void FRS_finish_stroke_rendering(struct Render* re); void FRS_composite_result(struct Render* re, struct SceneRenderLayer* srl, struct Render* freestyle_render); - void FRS_exit(); + void FRS_exit(void); // Panel configuration void FRS_add_module(FreestyleConfig *config); |