Skip to content

Commit

Permalink
Small bugfix
Browse files Browse the repository at this point in the history
- Added missing entry point for non-Windows platform.
- Cosmetic change.
  • Loading branch information
keijiro committed Oct 3, 2018
1 parent 5a0a01d commit f4828eb
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Assets/Klak/Spout/Editor/SpoutReceiverEditor.cs
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ void OnEnable()
_targetRenderer = serializedObject.FindProperty("_targetRenderer");
_targetMaterialProperty = serializedObject.FindProperty("_targetMaterialProperty");

EditorApplication.update += CheckRepaint;
EditorApplication.update += CheckRepaint;
}

void OnDisable()
Expand Down
3 changes: 3 additions & 0 deletions Assets/Klak/Spout/Runtime/Internal/PluginEntry.cs
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,9 @@ internal static int GetTextureWidth(System.IntPtr ptr)
internal static int GetTextureHeight(System.IntPtr ptr)
{ return 0; }

internal static bool CheckValid(System.IntPtr ptr)
{ return false; }

internal static int ScanSharedObjects()
{ return 0; }

Expand Down

0 comments on commit f4828eb

Please sign in to comment.