projects
/
platform
/
core
/
csapi
/
opentk.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1581ac7
)
Removed the stubs for System.Diagnostics.Debug from Android & IOS
author
Tzach Shabtay
<tzachshabtay@gmail.com>
Sun, 11 Dec 2016 23:03:29 +0000
(18:03 -0500)
committer
Tzach Shabtay
<tzachshabtay@gmail.com>
Sun, 11 Dec 2016 23:03:29 +0000
(18:03 -0500)
This looks like it was once a Xamarin limitation, but it’s not anymore.
Note: tested this on Android, but not on IOS (tested compilation on IOS
only).
Fixes #447
src/OpenTK/Minimal.cs
patch
|
blob
|
history
diff --git
a/src/OpenTK/Minimal.cs
b/src/OpenTK/Minimal.cs
index
11b62b7
..
56ddd44
100644
(file)
--- a/
src/OpenTK/Minimal.cs
+++ b/
src/OpenTK/Minimal.cs
@@
-13,6
+13,8
@@
namespace OpenTK
// minimal targets (e.g. MonoTouch).
// Note: the "overriden" classes must not be fully qualified for this to work!
+ #if MINIMAL
+
// System.Diagnostics.Debug
static class Debug
{
@@
-39,8
+41,6
@@
namespace OpenTK
public static void Flush() { }
}
- #if MINIMAL
-
// System.Diagnostics.Stopwatch
sealed class Stopwatch
{