Skip to content

Commit eeaf5fb

Browse files
authored
fix: build failure on Linux (#1287)
1 parent bbb5ec7 commit eeaf5fb

File tree

1 file changed

+1
-1
lines changed
  • Packages/com.github.homuler.mediapipe/Runtime/Scripts/Framework/Formats

1 file changed

+1
-1
lines changed

Packages/com.github.homuler.mediapipe/Runtime/Scripts/Framework/Formats/Image.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ public Image(ImageFormat.Types.Format format, Texture2D texture) :
4949
this(format, texture.width, texture.height, format.NumberOfChannels() * texture.width, texture.GetRawTextureData<byte>())
5050
{ }
5151

52-
#if UNITY_EDITOR_LINUX || UNITY_STANDLONE_LINUX || UNITY_ANDROID
52+
#if UNITY_EDITOR_LINUX || UNITY_STANDALONE_LINUX || UNITY_ANDROID
5353
public Image(uint target, uint name, int width, int height, GpuBufferFormat format, GlTextureBuffer.DeletionCallback callback, GlContext glContext) : base()
5454
{
5555
UnsafeNativeMethods.mp_Image__ui_ui_i_i_ui_PF_PSgc(target, name, width, height, format, callback, glContext.sharedPtr, out var ptr).Assert();

0 commit comments

Comments
 (0)