mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-04 13:13:25 +03:00
0025162: Visualization, TKOpenGl - drop GLU library dependency
Drop gluScaleImage() and gluBuild2DMipmaps(). Drop gluUnPorject() from samples. Output message if NPOT is unsupported and texture coordinates was scaled. Texture initialization is fail in this case. Output message if texture dimension exceed the max dimension. Texture initialization is fail in this case. TKOpenGl does not depends on deprecated GLU anymore.
This commit is contained in:
@@ -8,7 +8,6 @@ if (WIN32)
|
||||
list( APPEND USED_LIBS user32.lib )
|
||||
list( APPEND USED_LIBS gdi32.lib )
|
||||
list( APPEND USED_LIBS opengl32.lib )
|
||||
list( APPEND USED_LIBS glu32.lib )
|
||||
elseif(APPLE)
|
||||
find_library(FRAMEWORKS_TCL NAMES Tcl)
|
||||
list( APPEND USED_LIBS ${FRAMEWORKS_TCL} )
|
||||
@@ -17,7 +16,6 @@ elseif(APPLE)
|
||||
find_library(FRAMEWORKS_OPENGL NAMES OpenGL)
|
||||
if(USE_GLX)
|
||||
list( APPEND USED_LIBS GL )
|
||||
list( APPEND USED_LIBS GLU )
|
||||
else()
|
||||
list( APPEND USED_LIBS ${FRAMEWORKS_OPENGL} )
|
||||
endif()
|
||||
@@ -31,7 +29,6 @@ else()
|
||||
list( APPEND USED_LIBS tcl8.6 )
|
||||
list( APPEND USED_LIBS X11 )
|
||||
list( APPEND USED_LIBS tk8.6 )
|
||||
list( APPEND USED_LIBS GLU )
|
||||
list( APPEND USED_LIBS GL )
|
||||
list( APPEND USED_LIBS freetype )
|
||||
endif()
|
||||
|
Reference in New Issue
Block a user