Mercurial > octave
diff libinterp/corefcn/gl-render.h @ 19909: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 | 19755f4fc851 |
children | a9574e3c6e9e |
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