-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
SDL3:The call to the CreateRender function failed, causing the x server to report an error when enabling the event #12503
Comments
Why did SDL2 and SDL3 find different renderers on the same computer, and was OpenGL abandoned in SDL3? |
This problem has not been reproduced on other computers, so it is not easy to modify it, but please at least tell me one idea~ |
Sorry, don't have any ideas. |
OpenGL is still available in SDL3, for some reason when you built it the development libraries weren't enabled. Did you install all the dependencies listed here when you built it? |
emmm, I will check it today. |
sorry, I am a fool. I didn't install the OpenGL development library before. After installation, it returned to normal. I'm very sorry for taking up your time. |
#12221
This question is a continuation of the previous one.
On Linux arm64, on deepin, SDL3 was used to create a form using X11 handle. After using CreateRender (window, NULL), a pointer to render was returned. However, an error occurred regarding the X server when enabling the event. If no Render is created after creating the window, there are no errors when enabling events, and event reception is normal.
I found 4 renderers in SDL3:
opengles2 CreateRender return null
vulkan CreateRender return render (poll_event error x server,Unable to render and cannot reset window size)
gpu CreateRender return null
software CreateRender return null
And in SDL2, I found three renderers
OpenGL Create Render return render (rendering everything is normal except that there are no errors when calling poll_ivent, indicating that the mouse event cannot be received)
opengles2 CreateRender return null
software CreateRender return null
The text was updated successfully, but these errors were encountered: