Changeset 3021 for GTP/trunk/App/Demos/Vis/FriendlyCulling/src/chcdemo.cpp
- Timestamp:
- 10/10/08 13:53:22 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
GTP/trunk/App/Demos/Vis/FriendlyCulling/src/chcdemo.cpp
r3020 r3021 1 1 // chcdemo.cpp : Defines the entry point for the console application. 2 2 // 3 4 5 #include "common.h" 3 6 4 7 #ifdef _CRT_SET … … 6 9 #include <stdlib.h> 7 10 #include <crtdbg.h> 8 #endif 9 10 #include "common.h" 11 12 #ifdef _CRT_SET 11 13 12 // redefine new operator 14 13 #define DEBUG_NEW new(_NORMAL_BLOCK, __FILE__, __LINE__) 15 14 #define new DEBUG_NEW 16 15 #endif 17 18 16 19 17 #include <math.h> … … 490 488 InitCg(); 491 489 492 DeferredRenderer::Init (sCgContext);493 SkyPreetham::Init (sCgContext);490 DeferredRenderer::InitCG(sCgContext); 491 SkyPreetham::InitCG(sCgContext); 494 492 495 493 Vector3 cubeCenter(470.398f, 240.364f, 182.5f); … … 1788 1786 cgDestroyProgram(RenderState::sCgMrtFragmentTexProgram); 1789 1787 1788 DeferredRenderer::ReleaseCG(); 1789 SkyPreetham::ReleaseCG(); 1790 1790 1791 if (sCgContext) 1791 1792 cgDestroyContext(sCgContext);
Note: See TracChangeset
for help on using the changeset viewer.