Fixed unused parameter warning.
This commit is contained in:
parent
d55b64061b
commit
018022fd9b
@ -77,7 +77,8 @@ bool changeTheme(osgWidget::Event& ev) {
|
|||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
int main(int argc, char** argv) {
|
int main(int, char**)
|
||||||
|
{
|
||||||
osgViewer::Viewer viewer;
|
osgViewer::Viewer viewer;
|
||||||
|
|
||||||
osgWidget::WindowManager* wm = new osgWidget::WindowManager(
|
osgWidget::WindowManager* wm = new osgWidget::WindowManager(
|
||||||
|
@ -12,7 +12,8 @@ const unsigned int MASK_2D = 0xF0000000;
|
|||||||
// dynamically added to. Secondly, a table is matrix Layout, with both vertical and
|
// dynamically added to. Secondly, a table is matrix Layout, with both vertical and
|
||||||
// horizontal placement cells. A Box, on the other hand, can only be vertical or horizontal.
|
// horizontal placement cells. A Box, on the other hand, can only be vertical or horizontal.
|
||||||
|
|
||||||
int main(int argc, char** argv) {
|
int main(int, char**)
|
||||||
|
{
|
||||||
osgViewer::Viewer viewer;
|
osgViewer::Viewer viewer;
|
||||||
|
|
||||||
osgWidget::WindowManager* wm = new osgWidget::WindowManager(
|
osgWidget::WindowManager* wm = new osgWidget::WindowManager(
|
||||||
|
Loading…
Reference in New Issue
Block a user