/* just to be safe... */
glPixelStorei(GL_PACK_ALIGNMENT, 1);
+ // OSGFIXME
+#if 0
/* Because the HUD and Panel change the ViewPort we will
* need to handle some lowlevel stuff ourselves */
int ncols = trGet(tr, TR_COLUMNS);
bool do_panel = fgPanelVisible();
GLfloat panel_col_step = globals->get_current_panel()->getWidth() / ncols;
GLfloat panel_row_step = globals->get_current_panel()->getHeight() / nrows;
-
+#endif
glHint(GL_PERSPECTIVE_CORRECTION_HINT, GL_NICEST);
glHint(GL_POLYGON_SMOOTH_HINT, GL_NICEST);
glHint(GL_LINE_SMOOTH_HINT, GL_NICEST);
while (more) {
trBeginTile(tr);
int curColumn = trGet(tr, TR_CURRENT_COLUMN);
- int curRow = trGet(tr, TR_CURRENT_ROW);
+ // int curRow = trGet(tr, TR_CURRENT_ROW);
renderer->update( false );
// OSGFIXME
string message;
static int count = 1;
- FGRenderer *renderer = globals->get_renderer();
-
static const SGPropertyNode *master_freeze
= fgGetNode("/sim/freeze/master");
string message;
static int count = 1;
- FGRenderer *renderer = globals->get_renderer();
-
static const SGPropertyNode *master_freeze
= fgGetNode("/sim/freeze/master");
}
fclose(tmp);
- pwInit(0, 0, 600, 400, 0, "Layout Test", true, 0);
+ pwInit(0, 0, 600, 400, 0, const_cast<char*>("Layout Test"), true, 0);
pwSetCallbacks(keyboardCB, mouseButtonCB, mouseMotionCB,
resizeCB, exitCB);