[Build system] Report differentiated glx and glvnd OpenGL implementation detection.

This commit is contained in:
Vanfanel 2021-03-16 22:41:26 +01:00 committed by Sam Lantinga
parent e14fb54e3f
commit 96cc49857d

View file

@ -2379,7 +2379,7 @@ CheckOpenGLX11()
AC_DEFINE(SDL_VIDEO_OPENGL, 1, [ ]) AC_DEFINE(SDL_VIDEO_OPENGL, 1, [ ])
AC_DEFINE(SDL_VIDEO_OPENGL_GLX, 1, [ ]) AC_DEFINE(SDL_VIDEO_OPENGL_GLX, 1, [ ])
AC_DEFINE(SDL_VIDEO_RENDER_OGL, 1, [ ]) AC_DEFINE(SDL_VIDEO_RENDER_OGL, 1, [ ])
SUMMARY_video="${SUMMARY_video} opengl" SUMMARY_video="${SUMMARY_video} opengl(glx)"
fi fi
fi fi
} }
@ -2400,7 +2400,7 @@ CheckOpenGLKMSDRM()
if test x$video_opengl = xyes; then if test x$video_opengl = xyes; then
AC_DEFINE(SDL_VIDEO_OPENGL, 1, [ ]) AC_DEFINE(SDL_VIDEO_OPENGL, 1, [ ])
AC_DEFINE(SDL_VIDEO_RENDER_OGL, 1, [ ]) AC_DEFINE(SDL_VIDEO_RENDER_OGL, 1, [ ])
SUMMARY_video="${SUMMARY_video} opengl" SUMMARY_video="${SUMMARY_video} opengl(glvnd)"
fi fi
fi fi
} }