Tzach Shabtay
269c336719
IOS- added a method to resize the buffer on device rotation
...
This allows to keep aspect ratio when rotating to landscape, see here:
http://stackoverflow.com/questions/20326947/opengl-what-need-to-reconfig
-when-rotate-screen, and also here:
https://gamedev.stackexchange.com/questions/75965/how-do-i-reconfigure-m
y-gles-frame-buffer-after-a-rotation
2017-03-22 23:30:48 -04:00
Tzach Shabtay
2b15ae3700
IOS- fixed crash on first tick
...
FrameEventArgs throws an exception when setting the Time to a value <=
0. With that knowledge, both the Android and the IOS implementations
had a bug when setting the time.
On IOS, that bug would cause a crash on the first tick, as the first
tick would always set to 0.
On Android the bug was probably harmless but there was a redundant
check there (and also removed the unneeded allocation that was there on
every tick).
2017-03-19 23:49:09 -04:00
varon
fe9e300e09
Merge pull request #506 from pragmatrix/angle
...
ANGLE: keep the backbuffer's size updated when the window resizes
2017-03-19 18:40:48 +02:00
Armin Sander
89e792ee47
be sure the current context is set before calling Egl.WaitClient()
2017-03-19 15:29:00 +01:00
varon
a21313b41b
Merge pull request #485 from leezer3/develop
...
Fix: Joystick hats sticking in last position on Linux
2017-03-19 12:29:00 +02:00
varon
44ec9e6aa7
Merge pull request #504 from leezer3/AndroidIOS
...
FIx: JoystickButton.cs not removed from Android / IOS projects
2017-03-19 11:42:04 +02:00
varon
0097720cd1
Merge pull request #505 from pragmatrix/editorconfig
...
Add .editorconfig
2017-03-18 18:33:39 +02:00
Armin Sander
30752ed36d
ANGLE: keep the backbuffer size updated when the window resizes
2017-03-18 14:25:34 +01:00
Armin Sander
92636581af
add .editorconfig
2017-03-18 13:46:39 +01:00
Christopher Lees
969429d54c
FIx: JoystickButton.cs not removed from Android / IOS projects
2017-03-16 22:18:14 +00:00
varon
cd3138f9e3
Merge pull request #503 from UnknownShadow200/develop
...
Fix pointless warning when compiling Box2.cs
2017-03-15 14:39:15 +02:00
UnknownShadow200
9401b4dd84
Fix pointless warning when compiling Box2.cs
...
Showed warning "Missing XML comment for publicly visible type or member 'OpenTK.Box2.GetHashCode()' (CS1591) ", because there were five / instead of three / to indicate an XML comment.
2017-03-15 23:25:44 +11:00
varon
99b9bf65f2
Merge pull request #495 from tzachshabtay/develop
...
Fix broken IOS bindings
2017-03-13 09:45:37 +02:00
Tzach Shabtay
e8aa0882c9
Fix broken iOS bindings
2017-03-03 22:29:47 -05:00
varon
fa25cbb5f8
Merge pull request #492 from txdv/grammar
...
Grammar fix.
2017-03-01 09:08:14 +02:00
Andrius Bentkus
200915a46c
Grammar fix.
2017-02-28 16:26:22 +02:00
Christopher Lees
87f50e17bb
Fix: Joystick hats sticking in last position on Linux
2017-02-11 18:49:29 +00:00
varon
ae9c076748
Merge pull request #484 from leezer3/develop
...
Fix: Xbox controller D-Pad not working under Windows
2017-02-10 17:35:25 +02:00
varon
af68ee752a
Merge pull request #453 from leezer3/Joystick2
...
Improve Joystick Buttons
2017-02-10 17:34:44 +02:00
Christopher Lees
5890656953
Fix: Xbox controller D-Pad not working under Windows
2017-02-10 14:24:58 +00:00
varon
519d13ccde
Merge pull request #481 from leezer3/NegativeAxis
...
Fix: Joysticks with an axis range below zero were inverted
2017-02-09 11:31:11 +02:00
varon
4a1e1ba1f5
Merge pull request #478 from leezer3/develop
...
Fix: Incorrect documentation for MathHelper.NextPowerOfTwo
2017-02-09 10:50:37 +02:00
Christopher Lees
bf7e3ffb1e
Fix: Joysticks with an axis range below zero were inverted
2017-02-05 21:36:45 +00:00
Tzach Shabtay
7f70cd27a2
Merge remote-tracking branch 'upstream/develop' into develop
...
Merge from upstream
2017-01-31 22:37:39 -05:00
Christopher Lees
02e1891098
Fix: Incorrect documentation for MathHelper.NextPowerOfTwo
...
Fix: Typo in readme
2017-01-31 14:19:39 +00:00
varon
0abd2cc361
Merge pull request #476 from leezer3/develop
...
Fix: Some joysticks return an invalid HID page of 1
2017-01-30 22:34:22 +02:00
varon
bd04c31369
Merge pull request #462 from tzachshabtay/Mobile_DebugPrintouts
...
Removed the stubs for System.Diagnostics.Debug from Android & IOS
2017-01-29 16:42:48 +02:00
Tzach Shabtay
f310f4a119
Merge remote-tracking branch 'opentk/develop' into develop
2017-01-28 21:17:32 -05:00
Christopher Lees
114f02ff49
Fix: Some joysticks return an invalid HID page of 1
2017-01-27 15:50:46 +00:00
varon
12b0603dea
Merge pull request #463 from tzachshabtay/RemoveRedundantPrintout
...
Removed redundant printout for "OnMouseMove called without moving the mouse"
2016-12-12 09:25:40 +02:00
varon
f30a6552f8
Merge pull request #461 from tzachshabtay/OpenTK_AndroidCrashes
...
Fix 2 crashes on Android
2016-12-12 09:24:18 +02:00
Tzach Shabtay
51e2b3915c
Removed redundant printout for "OnMouseMove called without moving the mouse"
...
This fixes #416 .
The problem with this printout (as explained in the issue) is that on
Windows (at least for specific devices/OS) GetMouseMovePointsEx can
return duplicate points, so it’s either adding a check in the Windows
layer or remove the printout. Adding a check in the Windows layer looks
redundant though, as this is already checked in NativeWindowBase, so
removing the printout looks preferable.
2016-12-11 18:11:56 -05:00
Tzach Shabtay
b06169b457
Removed the stubs for System.Diagnostics.Debug from Android & IOS
...
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
2016-12-11 18:03:29 -05:00
Tzach Shabtay
0e20faf896
Android- fix a crash when the game view is closed before it started running
...
When the game view is closed, if it hasn’t started running yet the
stopwatch would still be null- added a null check.
2016-12-11 17:50:38 -05:00
Tzach Shabtay
57ceff19b9
Android- Fix crash when querying for surface when window info was not created yet
...
HasSurface is called by ReadyToRender property to query if the surface
was created, but it’s possible that the window info was not created
yet, added a missing null check.
2016-12-11 17:47:26 -05:00
Christopher Lees
7ef7c12c2b
Joystick Buttons:
...
* Remove JoystickButton enum (Use zero-based int as button index instead)
* Change to using a long to store button states
* Max buttons now 64 (Unable to go further without using an array)
2016-11-27 19:23:44 +00:00
varon
1581ac7b8a
Merge pull request #454 from leezer3/patch1
...
Fix wrong XML param name tag
2016-11-25 19:44:21 +02:00
varon
7dda6ffa14
Merge pull request #455 from rejurime/patch-1
...
Fix #440
2016-11-25 19:40:47 +02:00
René Juan Rico Mendoza
2ff5041ea6
Fix #440
2016-11-23 12:58:03 -03:00
Christopher Lees
c78a6c7844
Fix wrong XML param name tag
2016-11-23 14:42:29 +00:00
varon
c6ca549923
Merge pull request #450 from varon/readme-maintainer-request
...
Add request for maintainers to readme
2016-11-23 01:22:32 +02:00
varon
13549f5966
Add request for maintainers to readme
2016-11-23 01:21:38 +02:00
varon
75d22ff9e3
Merge pull request #434 from bawaaaaah/patch-1
...
Fix wrong obsolete message
2016-10-24 12:20:14 +02:00
Samuel Lemaitre
d050252bab
Fix wrong obsolete message
...
Fix wrong obsolete message for method "public static Matrix4 Rotate(Quaternion q)"
from CreateRotation to CreateFromQuaternion
2016-09-30 15:07:48 +02:00
varon
19eee6f3a5
Update readme for 2.0.0 release news ( #431 )
...
* Update readme with 2.0.0 news
* Fix link; Add note about OpenTK.Next.
* better markdown formatting for older news entries
2016-09-23 20:51:52 +02:00
Harry
01e5ac9cd3
Merge pull request #427 from varon/nuget-name-fix
...
Fix OpenTK assembly name error
2016-09-23 16:41:22 +02:00
varon
844eb285ef
fix OpenTK assembly name error.
2016-09-19 01:36:11 +02:00
Harry
d50c2fcea0
Merge pull request #418 from varon/fake-build-system
...
New build system
2016-08-15 10:23:06 +02:00
varon
ffbd5e9637
execute permission on build.sh
2016-08-15 09:41:55 +02:00
varon
2afe5c1f1a
Converted paket templates to project types again
2016-08-14 00:18:16 +02:00