Fix IDE0004

This commit is contained in:
RoosterDragon
2023-02-19 09:55:33 +00:00
committed by Gustas
parent a4f9ceaf09
commit 71ce515d6d
12 changed files with 16 additions and 13 deletions

View File

@@ -163,7 +163,7 @@ namespace OpenRA.Platforms.Default
{
fixed (byte* ptr = &data[0])
{
var intPtr = new IntPtr((void*)ptr);
var intPtr = new IntPtr(ptr);
OpenGL.glGetTexImage(OpenGL.GL_TEXTURE_2D, 0, OpenGL.GL_BGRA,
OpenGL.GL_UNSIGNED_BYTE, intPtr);
}