Remove duplicated X11 code.

This commit is contained in:
Ryan Houdek
2012-12-26 12:12:26 -06:00
parent 93f72d8463
commit 5169804a61
9 changed files with 272 additions and 406 deletions

View File

@ -84,7 +84,8 @@ else()
endif()
if(USE_EGL)
set(SRCS ${SRCS} Src/GLInterface/EGL.cpp)
set(SRCS ${SRCS} Src/GLInterface/EGL.cpp
Src/GLInterface/X11_Util.cpp)
else()
if(WIN32)
set(SRCS ${SRCS} Src/GLInterface/GLW.cpp)
@ -95,7 +96,9 @@ else()
set(SRCS ${SRCS} Src/GLInterface/AGL.cpp)
endif()
else()
set(SRCS ${SRCS} Src/GLInterface/GLX.cpp)
set(SRCS ${SRCS} Src/GLInterface/GLX.cpp
Src/GLInterface/X11_Util.cpp)
endif()
endif()