summaryrefslogtreecommitdiffstats
path: root/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'main.cpp')
-rw-r--r--main.cpp7
1 files changed, 2 insertions, 5 deletions
diff --git a/main.cpp b/main.cpp
index 8d59951..d0a294c 100644
--- a/main.cpp
+++ b/main.cpp
@@ -223,10 +223,7 @@ int WINAPI WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpCmdLine
}
void resize(int width, int height);
-
- void initGL(bool multisample) {
- glClearColor(0.0, 0.0, 0.0, 1.0);//glClearColor(1.0, 0.85, 0.06, 1.0);
- glClearDepth(1.0);
+
delta = GetTickCount()-ticks;
if(delta < MIN_FRAME_DELTA) {
@@ -236,7 +233,7 @@ int WINAPI WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpCmdLine
ticks += delta;
- static DisplayClass render();
+ static DisplayClass render(5, 5, 5);
render.renderScene(delta);
SwapBuffers(hDC);
}