This commit is contained in:
2020-03-20 18:07:19 +01:00
parent 1ff542a821
commit c8109ffb78

View File

@@ -49,9 +49,7 @@ Namespace RenderingN
Private Function ColorToTexture(color As Color) As Image Private Function ColorToTexture(color As Color) As Image
Dim tex As New Bitmap(1, 1) Dim tex As New Bitmap(1, 1)
tex.MakeTransparent()
tex.SetPixel(0, 0, color) tex.SetPixel(0, 0, color)
Console.WriteLine(tex.GetPixel(0, 0).ToString & vbTab & color.ToString)
Return tex Return tex
End Function End Function