mirror of
https://github.com/libretro/pcsx2.git
synced 2024-12-14 21:58:45 +00:00
aafa7a088a
* fix a bad interaction when GL_ARB_SSO is supported without GL_ARB_shading_language_420pack * try to replace struct with flat parameter in glsl interface => with some hacks of the free driver, I was able to compile SW renderer shader. Unfortunately the rendering is broken. Maybe my hack :p * remove EGL context check (wasn't working as expected) git-svn-id: http://pcsx2.googlecode.com/svn/branches/gsdx-ogl-wnd@5644 96395faa-99c1-11dd-bbfe-3dabce05a288
28 lines
730 B
CMake
28 lines
730 B
CMake
# Try to find EGL
|
|
# Once done, this will define
|
|
#
|
|
# EGL_FOUND - system has EGL
|
|
# EGL_INCLUDE_DIR - the EGL include directories
|
|
# EGL_LIBRARIES - link these to use EGL
|
|
|
|
if(EGL_INCLUDE_DIR AND EGL_LIBRARIES)
|
|
set(EGL_FIND_QUIETLY TRUE)
|
|
endif(EGL_INCLUDE_DIR AND EGL_LIBRARIES)
|
|
|
|
INCLUDE(CheckCXXSymbolExists)
|
|
|
|
# include dir
|
|
find_path(EGL_INCLUDE_DIR EGL/eglext.h)
|
|
|
|
# finally the library itself
|
|
find_library(libEGL NAMES EGL)
|
|
set(EGL_LIBRARIES ${libEGL})
|
|
|
|
# handle the QUIETLY and REQUIRED arguments and set EGL_FOUND to TRUE if
|
|
# all listed variables are TRUE
|
|
include(FindPackageHandleStandardArgs)
|
|
find_package_handle_standard_args(EGL DEFAULT_MSG EGL_LIBRARIES EGL_INCLUDE_DIR)
|
|
|
|
mark_as_advanced(EGL_LIBRARIES EGL_INCLUDE_DIR)
|
|
|