Remove auto misuse cases.
This commit is contained in:
parent
215acd52e8
commit
501c64a12f
2 changed files with 2 additions and 2 deletions
|
|
@ -268,7 +268,7 @@ void CameraFeed::set_external(int p_width, int p_height) {
|
|||
base_width = p_width;
|
||||
base_height = p_height;
|
||||
|
||||
auto new_texture = RenderingServer::get_singleton()->texture_external_create(p_width, p_height, 0);
|
||||
RID new_texture = RenderingServer::get_singleton()->texture_external_create(p_width, p_height, 0);
|
||||
RenderingServer::get_singleton()->texture_replace(texture[CameraServer::FEED_YCBCR_IMAGE], new_texture);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue