mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-04 02:42:49 -04:00
glgsg: change ultimate profile from vp40/fp40 to glslv/glslv
vp40 is just not "ultimate" enough. We can alternatively pick gp5vp/gp5fp if glslv/glslf is inadequate.
This commit is contained in:
parent
1baef394b6
commit
edc31ce9ca
@ -1776,9 +1776,9 @@ reset() {
|
|||||||
_shader_caps._active_gprofile = (int)CG_PROFILE_GLSLG;
|
_shader_caps._active_gprofile = (int)CG_PROFILE_GLSLG;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
_shader_caps._ultimate_vprofile = (int)CG_PROFILE_VP40;
|
_shader_caps._ultimate_vprofile = (int)CG_PROFILE_GLSLV;
|
||||||
_shader_caps._ultimate_fprofile = (int)CG_PROFILE_FP40;
|
_shader_caps._ultimate_fprofile = (int)CG_PROFILE_GLSLF;
|
||||||
_shader_caps._ultimate_gprofile = (int)CG_PROFILE_GPU_GP;
|
_shader_caps._ultimate_gprofile = (int)CG_PROFILE_GLSLG;
|
||||||
|
|
||||||
// Bug workaround for radeons.
|
// Bug workaround for radeons.
|
||||||
if (_shader_caps._active_fprofile == CG_PROFILE_ARBFP1) {
|
if (_shader_caps._active_fprofile == CG_PROFILE_ARBFP1) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user