Remove unused code in testbed application
This commit is contained in:
parent
a928c73827
commit
5ff56759ee
|
@ -34,7 +34,6 @@
|
|||
#include "openglframework.h"
|
||||
|
||||
// Constants
|
||||
const float GUI_SCALING = 2.0f;
|
||||
const int LEFT_PANE_WIDTH = 300;
|
||||
const int LEFT_PANE_HEADER_HEIGHT = 90;
|
||||
const double TIME_INTERVAL_DISPLAY_PROFILING_INFO = 0.3;
|
||||
|
|
|
@ -396,25 +396,6 @@ void TestbedApplication::error_callback(int error, const char* description) {
|
|||
fputs(description, stderr);
|
||||
}
|
||||
|
||||
// Display the GUI
|
||||
void TestbedApplication::displayGUI() {
|
||||
|
||||
// Display the FPS
|
||||
displayFPS();
|
||||
}
|
||||
|
||||
// Display the FPS
|
||||
void TestbedApplication::displayFPS() {
|
||||
|
||||
/*
|
||||
std::stringstream ss;
|
||||
ss << mFPS;
|
||||
std::string fpsString = ss.str();
|
||||
std::string windowTitle = mWindowTitle + " | FPS : " + fpsString;
|
||||
glfwSetWindowTitle(mWindow, windowTitle.c_str());
|
||||
*/
|
||||
}
|
||||
|
||||
// Callback method to receive keyboard events
|
||||
void TestbedApplication::keyboard(GLFWwindow* window, int key, int scancode,
|
||||
int action, int mods) {
|
||||
|
|
|
@ -133,15 +133,9 @@ class TestbedApplication {
|
|||
/// Check the OpenGL errors
|
||||
static void checkOpenGLErrors();
|
||||
|
||||
/// Display the FPS
|
||||
void displayFPS();
|
||||
|
||||
/// Compute the FPS
|
||||
void computeFPS();
|
||||
|
||||
/// Display the GUI
|
||||
void displayGUI();
|
||||
|
||||
/// GLFW error callback method
|
||||
static void error_callback(int error, const char* description);
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user