diff options
| author | Juan Linietsky | 2017-02-01 09:45:45 -0300 |
|---|---|---|
| committer | Juan Linietsky | 2017-02-01 09:46:36 -0300 |
| commit | 2cd2ca7bbc892eccc635b1c4aea80c956c9b92dc (patch) | |
| tree | 0a212bf8786c53ec7b054757071dc2430667d3a1 /core/image.cpp | |
| parent | 36b6ba8e94d9afcb06aa2579bf627651f7ebfea0 (diff) | |
| download | godot-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.cpp | 2 |
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(); |
