You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-18 14:21:41 +00:00
Fix some issues found by cppcheck.
This commit is contained in:
@@ -119,7 +119,7 @@ void NoiseTexture::_thread_done(const Ref<Image> &p_image) {
|
||||
}
|
||||
|
||||
void NoiseTexture::_thread_function(void *p_ud) {
|
||||
NoiseTexture *tex = (NoiseTexture *)p_ud;
|
||||
NoiseTexture *tex = static_cast<NoiseTexture *>(p_ud);
|
||||
tex->call_deferred(SNAME("_thread_done"), tex->_generate_texture());
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user