Commit Graph
21 Commits
Author SHA1 Message Date
Raven Szewczyk b4b733ceb2 Fix handling of null device/context in ALC bindings (#108)
Closes #100
2024-01-11 22:18:54 +00:00
Jason MitchellandRaven Szewczyk f8c4a5e330 Adjustments needed to get Angelica (Iris/Oculus backport) working (#88)
* WIP Adjustments needed to get Angelica (Iris/Oculus backport) working

* Move to GL20

* Hacky lwjglx.debug support since its transformer doesn't like lwjgl3ify's init call

* Don't submit invalid keycodes

* Add missing glTextureParameter

* Update buildscript

* Better setupDebugMessageCallback.

* Fix up the isKeyDown patch

* Better glGetActiveUniform sizetype impl

* Clean up the debug handler code

* Update the buildscript

---------

Co-authored-by: Raven Szewczyk <[email protected]>
2023-11-23 20:58:11 +00:00
Raven Szewczyk 16fae70244 [ci skip] Update the spotless config 2023-09-23 11:47:09 +01:00
Raven Szewczyk 4cf597e9b3 Add missing OpenAL bindings to fix SoundPhysics (#75)
* Add missing OpenAL EFX bindings and a couple of AL/ALC10 functions

* Log the classloader and transformer exclusions for easier post-mortem debugging.
2023-09-04 17:16:13 +01:00
Raven Szewczyk 520487da25 Patch compiler errors in generated code again 2023-06-03 10:42:08 +01:00
Raven Szewczyk 9df185517b Update autogenerated bindings 2023-06-03 10:38:53 +01:00
Raven Szewczyk 7186edf692 Delayed key release fix (#52)
* Fix handling of out-of-order char events when the key is released after being repeated.

Closes #48

* Forward org.lwjgl.input.Mouse setGrabbed calls to lwjglx for better debugger support
2023-03-26 12:58:27 +01:00
Vadzim Dambrouski c47e58af4c Revert the glColor3ub hack (#30)
It's not needed for LWJGL version 3.3.2-20230304.162250-10 and up.
2023-03-11 15:06:54 +00:00
Vadzim Dambrouski a9ca07aa56 HACK: Apply the same workaround for glColor4ub (#18)
See #17

Found out that Botania is using 4ub variant, we need to patch it too.
2023-02-17 15:44:33 +01:00
Vadzim Dambrouski c9bc61511e HACK: Temporary workaround for glColor3ub crash on macOS (#17)
glColor3ub is causing SEGFAULT on negative values, use glColor3i instead.
See https://github.com/LWJGL/lwjgl3/issues/858

This call is rarely used so performance impact should be minimal.
2023-02-15 17:58:19 +00:00
Raven Szewczyk 20ecd94040 Apply new spotless configs 2023-02-05 17:43:05 +00:00
Raven Szewczyk 0633e1cbbc Attempt 1 for fastcraft fix: use real copies of lwjgl util classes in the dummy org.lwjgl namespace 2023-01-25 11:17:33 +00:00
Raven Szewczyk f649173132 Fix a couple of crashes from the full pack 2023-01-18 14:19:42 +00:00
Raven Szewczyk ebccef7125 Manually fix some compile errors in the dummy classes 2023-01-18 13:42:07 +00:00
Raven Szewczyk 588b5912cf Add dummy classes for mixins to see in the classpath for the ones missing in lwjgl3 2023-01-18 13:39:51 +00:00
Raven Szewczyk d71c6cdffa Add fields 2023-01-18 13:03:57 +00:00
Raven Szewczyk c4501f7833 Check for pointer types to avoid passing in memory addresses into wrong places 2023-01-15 08:29:54 +00:00
Raven Szewczyk bd2f8bf117 Fix ALCdevice/GLSync returning function generation 2023-01-15 08:13:33 +00:00
Raven Szewczyk 2e90fac616 Enough transformers to get into a world 2023-01-14 21:41:26 +00:00
Raven Szewczyk 33fc6611b3 Add *Buffer transformations 2023-01-13 13:05:51 +00:00
Raven Szewczyk 882d7a8c48 First iteration of autogenerated api wrappers 2023-01-11 22:12:51 +00:00