aboutsummaryrefslogtreecommitdiff
path: root/src/displaywindow.h
diff options
context:
space:
mode:
authortaw27 <taw27@bf6ca9ba-c028-0410-8290-897cf20841d1>2007-10-03 16:47:37 +0000
committertaw27 <taw27@bf6ca9ba-c028-0410-8290-897cf20841d1>2007-10-03 16:47:37 +0000
commit4712ae776093d645e85e2280153976191227c4f3 (patch)
tree0139e7caf79c7f9d49356a055c7625f041c6b97e /src/displaywindow.h
parent36c105cc55ad40fab27d69b7cb31f243aa3ee35c (diff)
Progress towards indexing lines
git-svn-id: svn://cook.msm.cam.ac.uk:745/diff-tomo/dtr@149 bf6ca9ba-c028-0410-8290-897cf20841d1
Diffstat (limited to 'src/displaywindow.h')
-rw-r--r--src/displaywindow.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/displaywindow.h b/src/displaywindow.h
index 98ec148..f53e19f 100644
--- a/src/displaywindow.h
+++ b/src/displaywindow.h
@@ -17,6 +17,7 @@
#define DISPLAYWINDOW_H
#include <gtk/gtk.h>
+#include <GL/gl.h>
#include "control.h"
@@ -44,6 +45,7 @@ typedef struct dw_struct {
int gl_use_buffers; /* 0=use vertex arrays only, otherwise use VBOs */
GLuint gl_ref_vertex_buffer; /* "Measured reflection" stuff */
GLfloat *gl_ref_vertex_array;
+ int lines;
GLuint gl_ref_normal_buffer;
GLfloat *gl_ref_normal_array;
GLsizei gl_ref_num_vertices;