-
Notifications
You must be signed in to change notification settings - Fork 73
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
[NBlood] OpenGL support on Raspberry Pi 4 #749
Comments
Have you tried switching the OpenGL Driver in |
@Jan200101 As I said, I am using MESA, which provides the up-to-date full/desktop OpenGL 2.1 support. |
Same here on raspberry pi os 64 bit, same issue with nblood and eduke32 alike |
|
Hello,
I just built latest NBlood on GNU/Linux aarch64 (Raspberry Pi 4, latest stable MESA) with OpenGL support.
It built and linked with no problem, by doing:
make blood -j3 USE_OPENGL=1
But when running the engine I get:
But that's NOT true at all. The Pi4 supports desktop OpenGL up to version 2.1, and GLES up to 3.1.
Tried to fix it by editing
source/build/src/sdlayer.cpp
and adding these flags beforeSDL_GL_ATTRIBUTES(i, sdlayer_gl_attributes)
:Also tried with
{ SDL_GL_CONTEXT_PROFILE_MASK, SDL_GL_CONTEXT_PROFILE_ES },
, but it's still complaining about my driver not having OpenGL 2 compatibility, which as I said is false.Any idea on what's going on here? Maybe it's trying to initialize an OpenGL 3.x context? Where? How?
The text was updated successfully, but these errors were encountered: