diff --git a/src/Contexts/CMakeLists.txt b/src/Contexts/CMakeLists.txt index a7519d44d..9869c968c 100644 --- a/src/Contexts/CMakeLists.txt +++ b/src/Contexts/CMakeLists.txt @@ -7,5 +7,5 @@ if(GLUT_FOUND) install(FILES GlutContext.h DESTINATION ${MAGNUM_INCLUDE_INSTALL_DIR}/Contexts) install(TARGETS MagnumGlutContext DESTINATION ${MAGNUM_LIBRARY_INSTALL_DIR}) else() - message(STATUS "GLUT library was not found. GLUT context library will not be generated.") + message(WARNING "GLUT library was not found. GLUT context library will not be generated.") endif() diff --git a/src/Contexts/GlutContext.h b/src/Contexts/GlutContext.h index 86ca69e96..5d897f62d 100644 --- a/src/Contexts/GlutContext.h +++ b/src/Contexts/GlutContext.h @@ -39,10 +39,12 @@ class GlutContext: public AbstractContext { public: /** * @brief Constructor - * @param argc Count of arguments of main() function - * @param argv Arguments of main() function + * @param argc Count of arguments of `main()` function + * @param argv Arguments of `main()` function * @param title Window title * @param size Window size + * + * Creates double-buffered RGBA window with depth and stencil buffers. */ GlutContext(int& argc, char** argv, const std::string& title = "Magnum GLUT context", const Math::Vector2& size = Math::Vector2(800, 600));