diff options
author | Bastien Montagne <montagne29@wanadoo.fr> | 2015-01-24 16:57:57 +0300 |
---|---|---|
committer | Bastien Montagne <montagne29@wanadoo.fr> | 2015-01-24 16:57:57 +0300 |
commit | 31219415d6c5e9db72b362ac3badff52ea203480 (patch) | |
tree | fe050ae5a596142e8e3dcdbbd7504157e82727d9 /source/gameengine/BlenderRoutines/KX_BlenderCanvas.cpp | |
parent | d036ad552faf7e1a245d7b939cef1ddab2c5153a (diff) |
Fix BGE compilation after recent renames in BKE_image (tsst...).
Diffstat (limited to 'source/gameengine/BlenderRoutines/KX_BlenderCanvas.cpp')
-rw-r--r-- | source/gameengine/BlenderRoutines/KX_BlenderCanvas.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/gameengine/BlenderRoutines/KX_BlenderCanvas.cpp b/source/gameengine/BlenderRoutines/KX_BlenderCanvas.cpp index 31f3b1b2047..5bb2d58cd8d 100644 --- a/source/gameengine/BlenderRoutines/KX_BlenderCanvas.cpp +++ b/source/gameengine/BlenderRoutines/KX_BlenderCanvas.cpp @@ -350,7 +350,7 @@ void KX_BlenderCanvas::MakeScreenShot(const char *filename) char path[FILE_MAX]; BLI_strncpy(path, filename, sizeof(path)); BLI_path_abs(path, G.main->name); - BKE_add_image_extension_from_type(path, im_format.imtype); + BKE_image_path_ensure_ext_from_imtype(path, im_format.imtype); /* create and save imbuf */ ImBuf *ibuf = IMB_allocImBuf(dumpsx, dumpsy, 24, 0); |