diff options
| author | dumitru.stama | 2017-06-16 17:28:58 -0700 |
|---|---|---|
| committer | dumitru.stama | 2017-06-16 17:29:05 -0700 |
| commit | 7787700aca695d9de6355d8133c62da285199e20 (patch) | |
| tree | 5d081f9de81ce643b02e622a4ace1d276f75151f /core/image.cpp | |
| parent | 8a03a29233d5ef4cf5be3aeebd76cb77c82bc983 (diff) | |
| download | godot-7787700aca695d9de6355d8133c62da285199e20.tar.gz godot-7787700aca695d9de6355d8133c62da285199e20.tar.zst godot-7787700aca695d9de6355d8133c62da285199e20.zip | |
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 380b30702..426b13bcc 100644 --- a/core/image.cpp +++ b/core/image.cpp @@ -1712,7 +1712,7 @@ void Image::unlock() { write_lock = PoolVector<uint8_t>::Write(); } -Color Image::get_pixel(int p_x, int p_y) { +Color Image::get_pixel(int p_x, int p_y) const { uint8_t *ptr = write_lock.ptr(); #ifdef DEBUG_ENABLED |
