mirror of
https://github.com/P3D-Legacy/P3D-Legacy.git
synced 2025-07-24 22:35:47 +02:00
Fix annoying warning. Bye.
This commit is contained in:
parent
37ab72b60f
commit
ad222e642d
@ -130,8 +130,8 @@ Public Class TextureManager
|
||||
End Function
|
||||
|
||||
Public Shared Function GetTexture(ByVal Texture As Texture2D, ByVal Rectangle As Rectangle, Optional ByVal Factor As Integer = 1) As Texture2D
|
||||
Dim tex As Texture2D
|
||||
|
||||
Dim tex As Texture2D = Nothing
|
||||
|
||||
If TextureRectList.TryGetValue(New KeyValuePair(Of Int32, Rectangle)(Texture.GetHashCode(), Rectangle), tex) then
|
||||
Return tex
|
||||
End If
|
||||
|
Loading…
x
Reference in New Issue
Block a user