/*
* Copyright 2009 Haiku Inc. All rights reserved.
* Distributed under the terms of the MIT License.
*
* Authors:
* Artur Wyszynski <harakash@gmail.com>
*/
#include "OpenGLApp.h"
#include <Locale.h>
#include "OpenGLWindow.h"
OpenGLApp::OpenGLApp()
:
BApplication("application/x-vnd.Haiku-GLInfo")
{
}
OpenGLApp::~OpenGLApp()
{
}
void
OpenGLApp::ReadyToRun()
{
fWindow = new OpenGLWindow();
fWindow->Show();
}
int main(int argc, const char** argv)
{
OpenGLApp app;
app.Run();
return 0;
}
↑ V730 Not all members of a class are initialized inside the constructor. Consider inspecting: fWindow.