Mercurial > octave-nkf
changeset 19944:06979876af7d
Fix compilation error when building without OpenGL
* gl-render.h (class opengl_renderer): Enclose class definition in a
HAVE_OPENGL block.
author | Mike Miller <mtmiller@ieee.org> |
---|---|
date | Thu, 05 Mar 2015 19:58:30 -0500 |
parents | 4e15e8cb16ae |
children | bb1629e15afe |
files | libinterp/corefcn/gl-render.h |
diffstat | 1 files changed, 4 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/libinterp/corefcn/gl-render.h Thu Mar 05 09:24:31 2015 -0500 +++ b/libinterp/corefcn/gl-render.h Thu Mar 05 19:58:30 2015 -0500 @@ -49,6 +49,8 @@ #include "graphics.h" #include "txt-eng-ft.h" +#if defined (HAVE_OPENGL) + class OCTINTERP_API opengl_renderer @@ -215,3 +217,5 @@ }; #endif + +#endif