[cig-commits] commit: Was rendering off the side of the screen.
Mercurial
hg at geodynamics.org
Mon Nov 24 11:29:34 PST 2008
changeset: 75:bacc24c8e298
user: LukeHodkinson
date: Wed Aug 27 05:33:31 2008 +0000
files: DrawingObjects/src/TimeStep.c
description:
Was rendering off the side of the screen.
diff -r 1d163b16f19c -r bacc24c8e298 DrawingObjects/src/TimeStep.c
--- a/DrawingObjects/src/TimeStep.c Wed Aug 27 05:12:14 2008 +0000
+++ b/DrawingObjects/src/TimeStep.c Wed Aug 27 05:33:31 2008 +0000
@@ -286,10 +286,10 @@ void _lucTimeStep_Draw( void* drawingObj
self->colour.blue,
self->colour.opacity );
- glRasterPos2i( viewportInfo->width + 20 , viewportInfo->height - 13 );
+ glRasterPos2i( viewportInfo->width/2 , viewportInfo->height - 13 );
stringWidth = lucStringWidth( displayString );
- /*lucMoveRaster( - stringWidth/2, -20 );*/
+ lucMoveRaster( - stringWidth/2, -20 );
lucPrintString(displayString);
/* Free the memory */
More information about the CIG-COMMITS
mailing list