Fix compiling
This commit is contained in:
parent
5804417acc
commit
aef6208fdc
2 changed files with 2 additions and 1 deletions
|
@ -173,7 +173,6 @@ if(OPENGL_FOUND AND NOT OPENGLES_FOUND)
|
|||
endif(OPENGL_FOUND AND NOT OPENGLES_FOUND)
|
||||
|
||||
if(OPENGLES_FOUND)
|
||||
add_subdirectory(opengltest)
|
||||
target_link_libraries(kdeinit_kwin ${OPENGLES_LIBRARIES} ${OPENGLES_EGL_LIBRARIES})
|
||||
endif(OPENGLES_FOUND)
|
||||
|
||||
|
|
|
@ -235,6 +235,7 @@ void CompositingPrefs::deleteGLXContext()
|
|||
void CompositingPrefs::detectDriverAndVersion()
|
||||
{
|
||||
#ifdef KWIN_HAVE_OPENGL_COMPOSITING
|
||||
#ifndef KWIN_HAVE_OPENGLES
|
||||
GLPlatform *gl = GLPlatform::instance();
|
||||
gl->detect();
|
||||
gl->printResults();
|
||||
|
@ -243,6 +244,7 @@ void CompositingPrefs::detectDriverAndVersion()
|
|||
|
||||
if( mXgl )
|
||||
kWarning( 1212 ) << "Using XGL";
|
||||
#endif
|
||||
#endif
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue