Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add SDL2 opengles support for linux please. #184

Open
ut-slayer opened this issue Jun 17, 2024 · 1 comment
Open

Add SDL2 opengles support for linux please. #184

ut-slayer opened this issue Jun 17, 2024 · 1 comment

Comments

@ut-slayer
Copy link

Can you add SDL Support or wayland support for linux? if you add SDL directly is better. I am using rocknix. An linux arm64 distribution for some handlends linux consoles and a lot of mali gpus. It uses wayland and Xwayland dont work good sometimes but OpenGL dont work with Mali Powered drivers. It has GLES 3.2.
Can you add support for build in linux with SDL + OpenGLES driver option without x11. Thanks a lot

@ducphamhong
Copy link
Contributor

Hi @ut-slayer
The engine supported SDL & OpenGLES from Irrlicht engine (that like Emscripten platform).
But you need to set the some options:
Param: BUILD_SDL (in CMakeLists.txt)
And the file: IrrCompileConfig.h

...
#ifdef EMSCRIPTEN
	#define _IRR_WEBASM_PLATFORM_
	#define _IRR_COMPILE_WITH_OGLES3_
	#define _IRR_COMPILE_WITH_SDL_DEVICE_
#endif
...

I will also help you add some more flags to setup SDL & OpenGLES on Linux in a few days.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants