Check in cg-glsl-version variable.
This commit is contained in:
parent
39a321d0ba
commit
c9e00acd4b
|
|
@ -510,6 +510,13 @@ ConfigVariableInt lens_geom_segments
|
|||
"lens; for a normal perspective or orthographic lens, the "
|
||||
"wireframe is not subdivided."));
|
||||
|
||||
ConfigVariableString cg_glsl_version
|
||||
("cg-glsl-version", "",
|
||||
PRC_DESC("If this is set, it forces the Cg compiler to generate GLSL "
|
||||
"code conforming to the given GLSL version when using the "
|
||||
"glslv, glslf or glslg profiles. Use this when you are having "
|
||||
"problems with these profiles. Example values are 120 or 150."));
|
||||
|
||||
ConfigureFn(config_gobj) {
|
||||
AnimateVerticesRequest::init_type();
|
||||
BufferContext::init_type();
|
||||
|
|
|
|||
|
|
@ -99,6 +99,6 @@ extern EXPCL_PANDA_GOBJ ConfigVariableInt adaptive_lru_max_updates_per_frame;
|
|||
extern EXPCL_PANDA_GOBJ ConfigVariableDouble async_load_delay;
|
||||
extern EXPCL_PANDA_GOBJ ConfigVariableInt lens_geom_segments;
|
||||
|
||||
extern EXPCL_PANDA_GOBJ ConfigVariableString cg_glsl_version;
|
||||
|
||||
#endif
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue