aboutsummaryrefslogtreecommitdiff
path: root/src/displaywindow.c
diff options
context:
space:
mode:
authortaw27 <taw27@bf6ca9ba-c028-0410-8290-897cf20841d1>2007-10-19 16:25:08 +0000
committertaw27 <taw27@bf6ca9ba-c028-0410-8290-897cf20841d1>2007-10-19 16:25:08 +0000
commit45864cb5113ec4dde6afe1d23ea53f75402b9ece (patch)
treeb3d4dad81bcfa34037cb067e1356303b32401df1 /src/displaywindow.c
parent7c4c25f2eda4f0a0780cf2edb087452ceb63f226 (diff)
Refactor image handling code
Remove itrans-lsq git-svn-id: svn://cook.msm.cam.ac.uk:745/diff-tomo/dtr@158 bf6ca9ba-c028-0410-8290-897cf20841d1
Diffstat (limited to 'src/displaywindow.c')
-rw-r--r--src/displaywindow.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/displaywindow.c b/src/displaywindow.c
index d4cb3f7..e9aaa7d 100644
--- a/src/displaywindow.c
+++ b/src/displaywindow.c
@@ -521,7 +521,7 @@ static void displaywindow_gl_create_list(DisplayWindow *dw) {
* so rotate tilt axis anticlockwise by omega.
* Since the rotation is about +z, this is already anticlockwise
* when looking down z. */
- glRotatef(ctx->images[0].omega, 0.0, 0.0, 1.0);
+ glRotatef(ctx->images->images[0].omega, 0.0, 0.0, 1.0);
glScalef(50.0, 1.0, 1.0);
glTranslatef(-0.5, 0.0, 0.0);
glMaterialfv(GL_FRONT_AND_BACK, GL_EMISSION, yellow);