fix a few warnings, and matching class/struct in forward declaration
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
#include "GwenProfileWindow.h"
|
||||
#include "../GpuDemos/gwenUserInterface.h"
|
||||
#include "../GpuDemos/gwenInternalData.h"
|
||||
#include "LinearMath/btQuickprof.h"
|
||||
|
||||
@@ -1,8 +1,7 @@
|
||||
#ifndef GWEN_PROFILE_WINDOW_H
|
||||
#define GWEN_PROFILE_WINDOW_H
|
||||
|
||||
struct MyProfileWindow* setupProfileWindow(struct GwenInternalData* data);
|
||||
|
||||
class MyProfileWindow* setupProfileWindow(struct GwenInternalData* data);
|
||||
void processProfileData(MyProfileWindow* window, bool idle);
|
||||
void profileWindowSetVisible(MyProfileWindow* window, bool visible);
|
||||
void destroyProfileWindow(MyProfileWindow* window);
|
||||
|
||||
@@ -78,7 +78,7 @@ public:
|
||||
}
|
||||
};
|
||||
|
||||
struct MyGraphWindow* setupTextureWindow(const MyGraphInput& input)
|
||||
MyGraphWindow* setupTextureWindow(const MyGraphInput& input)
|
||||
{
|
||||
MyGraphWindow* graphWindow = new MyGraphWindow(input);
|
||||
MyMenuItems2* menuItems = new MyMenuItems2(graphWindow);
|
||||
|
||||
@@ -25,7 +25,7 @@ struct MyGraphInput
|
||||
{
|
||||
}
|
||||
};
|
||||
struct MyGraphWindow* setupTextureWindow(const MyGraphInput& input);
|
||||
class MyGraphWindow* setupTextureWindow(const MyGraphInput& input);
|
||||
void destroyTextureWindow(MyGraphWindow* window);
|
||||
|
||||
|
||||
|
||||
@@ -55,8 +55,8 @@ bool dump_timings = false;
|
||||
int maxFrameCount = 102;
|
||||
extern char OpenSansData[];
|
||||
extern char* gPairBenchFileName;
|
||||
extern float shadowMapWidth;
|
||||
extern float shadowMapHeight;
|
||||
extern int shadowMapWidth;
|
||||
extern int shadowMapHeight;
|
||||
extern bool gDebugLauncherCL;
|
||||
extern bool gAllowCpuOpenCL;
|
||||
extern bool gUseLargeBatches;
|
||||
|
||||
Reference in New Issue
Block a user