- Timestamp:
- 07/07/08 10:52:03 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
GTP/trunk/App/Demos/Vis/FriendlyCulling/src/RenderState.cpp
r2816 r2818 1 1 #include "RenderState.h" 2 #include "glInterface.h"3 2 #include "Geometry.h" 4 3 #include "Material.h" … … 7 6 namespace CHCDemoEngine 8 7 { 8 9 CGprofile RenderState::sCgFragmentProfile; 10 CGprofile RenderState::sCgVertexProfile; 9 11 10 12 … … 34 36 glDisable(GL_LIGHTING); 35 37 glColorMask(GL_FALSE, GL_FALSE, GL_FALSE, GL_FALSE); 38 39 cgGLDisableProfile(sCgFragmentProfile); 40 cgGLDisableProfile(sCgVertexProfile); 36 41 } 37 42 … … 49 54 glEnable(GL_LIGHTING); 50 55 glColorMask(GL_TRUE, GL_TRUE, GL_TRUE, GL_TRUE); 56 57 cgGLEnableProfile(sCgFragmentProfile); 58 cgGLEnableProfile(sCgVertexProfile); 51 59 } 52 60 … … 68 76 { 69 77 mAlphaTestEnabled = true; 70 //glEnable(GL_ALPHA_TEST);78 glEnable(GL_ALPHA_TEST); 71 79 } 72 80
Note: See TracChangeset
for help on using the changeset viewer.