Skip to content

Commit

Permalink
Replaced GLEW with loader generated by glLoadGen, restructured GLExte…
Browse files Browse the repository at this point in the history
…nsions.hpp for easier extension bookkeeping, make use of GLEXT definitions in Shader.cpp and Texture.cpp as well, replaced GL_MAX_TEXTURE_COORDS with GL_MAX_COMBINED_TEXTURE_IMAGE_UNITS, implemented flags for requesting a debug or core/compatibility profile context, added warnings to all context creation implementations to warn the user of an incompatible mismatch between the context they requested and the context that was created, changed the default context version from 2.0 to 2.1.
  • Loading branch information
binary1248 committed Aug 28, 2014
1 parent e157e7a commit 01e345b
Show file tree
Hide file tree
Showing 35 changed files with 5,042 additions and 30,483 deletions.
65 changes: 0 additions & 65 deletions cmake/Modules/FindGLEW.cmake

This file was deleted.

3 changes: 1 addition & 2 deletions cmake/Modules/FindSFML.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -303,11 +303,10 @@ if(SFML_STATIC_LIBRARIES)

# find libraries
find_sfml_dependency(FREETYPE_LIBRARY "FreeType" freetype)
find_sfml_dependency(GLEW_LIBRARY "GLEW" glew GLEW glew32 glew32s glew64 glew64s)
find_sfml_dependency(JPEG_LIBRARY "libjpeg" jpeg)

# update the list
set(SFML_GRAPHICS_DEPENDENCIES ${FREETYPE_LIBRARY} ${GLEW_LIBRARY} ${JPEG_LIBRARY})
set(SFML_GRAPHICS_DEPENDENCIES ${FREETYPE_LIBRARY} ${JPEG_LIBRARY})
set(SFML_DEPENDENCIES ${SFML_GRAPHICS_DEPENDENCIES} ${SFML_DEPENDENCIES})
endif()

Expand Down

0 comments on commit 01e345b

Please sign in to comment.