Fix compiling

This commit is contained in:
Martin Gräßlin 2010-12-04 12:20:43 +01:00 committed by Martin Gräßlin
parent 5804417acc
commit aef6208fdc
2 changed files with 2 additions and 1 deletions

View file

@ -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)

View file

@ -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
}