Added basic_shaders_only

This commit is contained in:
Josh Yelon 2007-09-12 17:39:32 +00:00
parent e4b53add82
commit d7307dd0be
2 changed files with 10 additions and 0 deletions

View File

@ -309,6 +309,15 @@ ConfigVariableBool sync_video
"cheesy estimate of scene complexity. Some drivers may ignore "
"this request."));
ConfigVariableBool basic_shaders_only
("basic_shaders_only", false,
PRC_DESC("Set this to true if you aren't interested in shader model three "
"and beyond. Setting this flag will cause panda to disable "
"bleeding-edge shader functionality which tends to be unreliable "
"or broken. At some point, when functionality that is currently "
"flaky becomes reliable, we may expand the definition of what "
"constitutes 'basic' shaders."));
////////////////////////////////////////////////////////////////////
// Function: init_libdisplay
// Description: Initializes the library. This must be called at

View File

@ -90,6 +90,7 @@ extern EXPCL_PANDA_DISPLAY ConfigVariableInt back_buffers;
extern EXPCL_PANDA_DISPLAY ConfigVariableDouble background_color;
extern EXPCL_PANDA_DISPLAY ConfigVariableBool sync_video;
extern EXPCL_PANDA_DISPLAY ConfigVariableBool basic_shaders_only;
extern EXPCL_PANDA_DISPLAY void init_libdisplay();