From 6c52484f056c3e7b2588cf8d1d822b988ece0601 Mon Sep 17 00:00:00 2001 From: rdb Date: Tue, 5 Feb 2013 22:55:41 +0000 Subject: [PATCH] fix compilation for older Cg versions --- panda/src/glstuff/glGraphicsStateGuardian_src.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/panda/src/glstuff/glGraphicsStateGuardian_src.cxx b/panda/src/glstuff/glGraphicsStateGuardian_src.cxx index 6317310d17..1c65cf4834 100644 --- a/panda/src/glstuff/glGraphicsStateGuardian_src.cxx +++ b/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