Make blenderplayer compilable again after recent commit b7f085d9c1 by Tamito.

Inserted a stub in stub.c and added the struct keyword to make gcc happy
This commit is contained in:
Thomas Beck 2014-05-03 12:49:21 +02:00
parent a4408f405d
commit 0cd49fde56
2 changed files with 4 additions and 1 deletions

View File

@ -34,7 +34,7 @@ bool ED_texture_context_check_world(const struct bContext *C);
bool ED_texture_context_check_material(const struct bContext *C);
bool ED_texture_context_check_lamp(const struct bContext *C);
bool ED_texture_context_check_particles(const struct bContext *C);
bool ED_texture_context_check_linestyle(const bContext *C);
bool ED_texture_context_check_linestyle(const struct bContext *C);
bool ED_texture_context_check_others(const struct bContext *C);
#endif /* __ED_BUTTONS_H__ */

View File

@ -226,6 +226,9 @@ void RE_zbuf_accumulate_vecblur(struct NodeBlurData *nbd, int xsize, int ysize,
/* imagetexture.c stub */
void ibuf_sample(struct ImBuf *ibuf, float fx, float fy, float dx, float dy, float *result) RET_NONE
/* Freestyle */
bool ED_texture_context_check_linestyle(const struct bContext *C) RET_ZERO
/* texture.c */
int multitex_ext(struct Tex *tex, float texvec[3], float dxt[3], float dyt[3], int osatex, struct TexResult *texres, struct ImagePool *pool, bool scene_color_manage) RET_ZERO
int multitex_ext_safe(struct Tex *tex, float texvec[3], struct TexResult *texres, struct ImagePool *pool, bool scene_color_manage) RET_ZERO