Module: Demos Branch: cmake Commit: 12ec0c3f3597f8e2c950bac216780f2c687083fb URL: http://cgit.freedesktop.org/mesa/demos/commit/?id=12ec0c3f3597f8e2c950bac216780f2c687083fb
Author: José Fonseca <[email protected]> Date: Sat Nov 6 13:11:09 2010 +0000 wgl: Use wglew.h instead of wglext.h --- src/wgl/CMakeLists.txt | 2 ++ src/wgl/wglinfo.c | 5 ++--- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/src/wgl/CMakeLists.txt b/src/wgl/CMakeLists.txt index 58df56d..3583560 100644 --- a/src/wgl/CMakeLists.txt +++ b/src/wgl/CMakeLists.txt @@ -1,9 +1,11 @@ include_directories ( ${OPENGL_INCLUDE_PATH} + ${GLEW_INCLUDE_DIR} ) link_libraries ( ${OPENGL_gl_LIBRARY} + ${GLEW_glew_LIBRARY} ) add_executable (wglthreads wglthreads/wglthreads.c) diff --git a/src/wgl/wglinfo.c b/src/wgl/wglinfo.c index 864372c..8295822 100644 --- a/src/wgl/wglinfo.c +++ b/src/wgl/wglinfo.c @@ -33,9 +33,8 @@ #include <windows.h> -#include <GL/gl.h> -#include <GL/glext.h> -#include <GL/wglext.h> +#include <GL/glew.h> +#include <GL/wglew.h> #include <stdio.h> #include <string.h> #include <stdlib.h> _______________________________________________ mesa-commit mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/mesa-commit
