mirror of
https://bitbucket.org/smil3y/kde-workspace.git
synced 2025-02-23 18:32:50 +00:00
kinfocenter: fix build with OpenGLES
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
This commit is contained in:
parent
a55f087529
commit
50163dd291
2 changed files with 2 additions and 1 deletions
|
@ -3,6 +3,7 @@ if(OPENGL_FOUND AND OPENGL_GLU_FOUND)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
if(OPENGLES_FOUND)
|
if(OPENGLES_FOUND)
|
||||||
|
set(KCM_ENABLE_OPENGLES TRUE)
|
||||||
include_directories( ${OPENGLES_INCLUDE_DIR} )
|
include_directories( ${OPENGLES_INCLUDE_DIR} )
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
|
|
@ -793,7 +793,7 @@ static QTreeWidgetItem *get_gl_info(Display *dpy, int scrnum, Bool allowDirect,
|
||||||
gli.glExtensions = (const char *) glGetString(GL_EXTENSIONS);
|
gli.glExtensions = (const char *) glGetString(GL_EXTENSIONS);
|
||||||
gli.displayName = NULL;
|
gli.displayName = NULL;
|
||||||
|
|
||||||
IsDirect = TRUE;
|
IsDirect = true;
|
||||||
result = print_screen_info(l1, after);
|
result = print_screen_info(l1, after);
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
|
|
Loading…
Add table
Reference in a new issue