mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-03 02:15:43 -04:00
fix CGprofile cast
This commit is contained in:
parent
6c52484f05
commit
498badb726
@ -1725,11 +1725,11 @@ reset() {
|
|||||||
|
|
||||||
static CG_PROFILE_TO_SHADER_MODEL cg_profile_to_shader_model_array[] = {
|
static CG_PROFILE_TO_SHADER_MODEL cg_profile_to_shader_model_array[] = {
|
||||||
// gp5fp - OpenGL fragment profile for GeForce 400 Series and up
|
// gp5fp - OpenGL fragment profile for GeForce 400 Series and up
|
||||||
7017, /*CG_PROFILE_GP5FP,*/
|
(CGprofile)7017, /*CG_PROFILE_GP5FP,*/
|
||||||
SM_50,
|
SM_50,
|
||||||
|
|
||||||
// gp4fp - OpenGL fragment profile for G8x (GeForce 8xxx and up)
|
// gp4fp - OpenGL fragment profile for G8x (GeForce 8xxx and up)
|
||||||
7010, /*CG_PROFILE_GP4FP,*/
|
(CGprofile)7010, /*CG_PROFILE_GP4FP,*/
|
||||||
SM_40,
|
SM_40,
|
||||||
|
|
||||||
// fp40 - OpenGL fragment profile for NV4x (GeForce 6xxx and 7xxx
|
// fp40 - OpenGL fragment profile for NV4x (GeForce 6xxx and 7xxx
|
||||||
|
Loading…
x
Reference in New Issue
Block a user