Commit Graph
6 Commits
Author SHA1 Message Date
Le Philousophe bf1ebeeb86 Allow custom visualisation shaders to be used with GLES
With GLES, a precision specifier is mandatory for float types.
Specifying one in the user shader is not enough because it happens too
late after uvec2 and uvec4 uses in the custom prefix.
2025-04-24 12:02:24 +01:00
Le Philousophe 7d05d545d2 Create a clone context with the same profile as the shared one
This matches behaviour of WGLPlatform
2023-02-02 10:36:38 +00:00
Le Philousophe 75a7f66280 Don't run hooks multiple times when shared objects are symlinked
When two shared objects are symlinked and if one is loaded,
CheckLoadedLibraries detects the other one as loaded too and run hooks a
second time.
Prevent this as it leads to recursive blocking calls in libEGL.
2022-04-15 10:58:03 +01:00
Le Philousophe e0f5d68aec Prefer loading of libEGL.so.1 before libEGL.so
On most platforms libEGL.so is a symlink to libEGL.so.1 used for
development
2022-04-15 10:58:03 +01:00
Le Philousophe c3ed881b9f Delete render buffer only after finish using it 2022-04-11 13:23:53 +01:00
Le Philousophe 3b8ac99a40 Unbind textures before deleting them
Without this valgrind complains about use-after-free
2022-04-11 13:23:53 +01:00