Browse Source

fix compilation for older Cg versions

rdb 13 years ago
parent
commit
6c52484f05
1 changed files with 2 additions and 2 deletions
  1. 2 2
      panda/src/glstuff/glGraphicsStateGuardian_src.cxx

+ 2 - 2
panda/src/glstuff/glGraphicsStateGuardian_src.cxx

@@ -1725,11 +1725,11 @@ reset() {
 
   static CG_PROFILE_TO_SHADER_MODEL cg_profile_to_shader_model_array[] = {
     // gp5fp - OpenGL fragment profile for GeForce 400 Series and up
-    CG_PROFILE_GP5FP,
+    7017, /*CG_PROFILE_GP5FP,*/
     SM_50,
 
     // gp4fp - OpenGL fragment profile for G8x (GeForce 8xxx and up)
-    CG_PROFILE_GP4FP,
+    7010, /*CG_PROFILE_GP4FP,*/
     SM_40,
 
     // fp40 - OpenGL fragment profile for NV4x (GeForce 6xxx and 7xxx