projects
/
rocksndiamonds.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
183dab0
)
fixed creating custom element images (RocksCE.ilbm) for SDL2
author
Holger Schemel
<info@artsoft.org>
Fri, 6 Jan 2017 17:29:13 +0000
(18:29 +0100)
committer
Holger Schemel
<info@artsoft.org>
Fri, 6 Jan 2017 17:29:13 +0000
(18:29 +0100)
src/files.c
patch
|
blob
|
history
diff --git
a/src/files.c
b/src/files.c
index c0f256c73c27016f42c2af688f47f97cc0769111..6882aaa584737ed2404631c52d2828526d0e05ca 100644
(file)
--- a/
src/files.c
+++ b/
src/files.c
@@
-10209,6
+10209,8
@@
void CreateCustomElementImages(char *directory)
SDLInitVideoDisplay();
+ ReCreateBitmap(&backbuffer, video.width, video.height);
+
src_bitmap = LoadImage(src_filename);
bitmap = CreateBitmap(TILEX * 16 * 2,