Mercurial > octave
diff libinterp/corefcn/gl-render.cc @ 21196:bd96c2efd4fe
move include statements for OpenGL headers to a single file
* oct-opengl.h: New file.
* libinterp/corefcn/module.mk: Update.
* Canvas.cc, gl-select.cc, gl-select.h, gl-render.cc, gl-render.h,
gl2ps-renderer.cc, __init_fltk__.cc, __osmesa_print__.cc:
Update include statements.
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Thu, 04 Feb 2016 16:56:02 -0500 |
parents | 629643522cc0 |
children | 1adcdc518d9e |
line wrap: on
line diff
--- a/libinterp/corefcn/gl-render.cc Thu Feb 04 16:02:44 2016 -0500 +++ b/libinterp/corefcn/gl-render.cc Thu Feb 04 16:56:02 2016 -0500 @@ -28,12 +28,18 @@ #include <iostream> +#ifdef HAVE_WINDOWS_H +#define WIN32_LEAN_AND_MEAN +#include <windows.h> +#endif + #include <lo-mappers.h> #include "oct-locbuf.h" #include "oct-refcount.h" #include "errwarn.h" #include "gl-render.h" +#include "oct-opengl.h" #include "txt-eng.h" #include "txt-eng-ft.h"