diff options
author | unknown <Constantin@.(none)> | 2010-01-17 01:20:51 +0100 |
---|---|---|
committer | unknown <Constantin@.(none)> | 2010-01-17 01:20:51 +0100 |
commit | 67575ef92fc93cd63d3f6518feefcdf8f4625968 (patch) | |
tree | a65fca4b7c51a5e335d7bba90541ec0afa24d20d /main.cpp | |
parent | f382c18643d16bf6656e508d611817aaf0c29704 (diff) | |
download | c3d-67575ef92fc93cd63d3f6518feefcdf8f4625968.tar c3d-67575ef92fc93cd63d3f6518feefcdf8f4625968.zip |
windows unterstützung
Diffstat (limited to 'main.cpp')
-rw-r--r-- | main.cpp | 7 |
1 files changed, 2 insertions, 5 deletions
@@ -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); } |