summaryrefslogtreecommitdiffstats
path: root/main.cpp
diff options
context:
space:
mode:
authorunknown <Constantin@.(none)>2010-01-17 01:20:51 +0100
committerunknown <Constantin@.(none)>2010-01-17 01:20:51 +0100
commit67575ef92fc93cd63d3f6518feefcdf8f4625968 (patch)
treea65fca4b7c51a5e335d7bba90541ec0afa24d20d /main.cpp
parentf382c18643d16bf6656e508d611817aaf0c29704 (diff)
downloadc3d-67575ef92fc93cd63d3f6518feefcdf8f4625968.tar
c3d-67575ef92fc93cd63d3f6518feefcdf8f4625968.zip
windows unterstützung
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);
}