FreeBSD Bugzilla – Attachment 216256 Details for
Bug 247752
devel/sdl20: build error
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
Fix for building with VIDEO_OPENGLES2 disabled
patch-src_video_kmsdrm_SDL__kmsdrmvideo.c (text/plain), 597 bytes, created by
Sean Farley
on 2020-07-06 15:48:51 UTC
(
hide
)
Description:
Fix for building with VIDEO_OPENGLES2 disabled
Filename:
MIME Type:
Creator:
Sean Farley
Created:
2020-07-06 15:48:51 UTC
Size:
597 bytes
patch
obsolete
>--- src/video/kmsdrm/SDL_kmsdrmvideo.c.orig 2020-03-11 01:36:18 UTC >+++ src/video/kmsdrm/SDL_kmsdrmvideo.c >@@ -391,7 +391,9 @@ KMSDRM_CreateSurfaces(_THIS, SDL_Window * window) > Uint32 height = dispdata->mode.vdisplay; > Uint32 surface_fmt = GBM_FORMAT_XRGB8888; > Uint32 surface_flags = GBM_BO_USE_SCANOUT | GBM_BO_USE_RENDERING; >+#if SDL_VIDEO_OPENGL_EGL > EGLContext egl_context; >+#endif > > if (!KMSDRM_gbm_device_is_format_supported(viddata->gbm, surface_fmt, surface_flags)) { > SDL_LogWarn(SDL_LOG_CATEGORY_VIDEO, "GBM surface format not supported. Trying anyway.");
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 247752
: 216256