aboutsummaryrefslogtreecommitdiff
path: root/core/image.cpp
diff options
context:
space:
mode:
authorJuan Linietsky2017-02-01 09:45:45 -0300
committerJuan Linietsky2017-02-01 09:46:36 -0300
commit2cd2ca7bbc892eccc635b1c4aea80c956c9b92dc (patch)
tree0a212bf8786c53ec7b054757071dc2430667d3a1 /core/image.cpp
parent36b6ba8e94d9afcb06aa2579bf627651f7ebfea0 (diff)
downloadgodot-2cd2ca7bbc892eccc635b1c4aea80c956c9b92dc.tar.gz
godot-2cd2ca7bbc892eccc635b1c4aea80c956c9b92dc.tar.zst
godot-2cd2ca7bbc892eccc635b1c4aea80c956c9b92dc.zip
Lot of work in new importer, importing textures now works.
Diffstat (limited to 'core/image.cpp')
-rw-r--r--core/image.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/image.cpp b/core/image.cpp
index ed505b0f7..2d038691f 100644
--- a/core/image.cpp
+++ b/core/image.cpp
@@ -2155,7 +2155,7 @@ void Image::fix_alpha_edges() {
return; //not needed
PoolVector<uint8_t> dcopy = data;
- PoolVector<uint8_t>::Read rp = data.read();
+ PoolVector<uint8_t>::Read rp = dcopy.read();
const uint8_t *srcptr=rp.ptr();
PoolVector<uint8_t>::Write wp = data.write();