wined3d: Get rid of the unused vbo_mode setting.

This commit is contained in:
Henri Verbeet 2009-08-10 09:30:52 +02:00 committed by Alexandre Julliard
parent 6794a57073
commit cbd555bbc9
2 changed files with 0 additions and 17 deletions

View File

@ -39,7 +39,6 @@ wined3d_settings_t wined3d_settings =
{ {
VS_HW, /* Hardware by default */ VS_HW, /* Hardware by default */
PS_HW, /* Hardware by default */ PS_HW, /* Hardware by default */
VBO_HW, /* Hardware by default */
TRUE, /* Use of GLSL enabled by default */ TRUE, /* Use of GLSL enabled by default */
ORM_FBO, /* Use FBOs to do offscreen rendering */ ORM_FBO, /* Use FBOs to do offscreen rendering */
RTL_AUTO, /* Automatically determine best locking method */ RTL_AUTO, /* Automatically determine best locking method */
@ -196,19 +195,6 @@ static BOOL wined3d_init(HINSTANCE hInstDLL)
wined3d_settings.ps_mode = PS_NONE; wined3d_settings.ps_mode = PS_NONE;
} }
} }
if ( !get_config_key( hkey, appkey, "VertexBufferMode", buffer, size) )
{
if (!strcmp(buffer,"none"))
{
TRACE("Disable Vertex Buffer Hardware support\n");
wined3d_settings.vbo_mode = VBO_NONE;
}
else if (!strcmp(buffer,"hardware"))
{
TRACE("Allow Vertex Buffer Hardware support\n");
wined3d_settings.vbo_mode = VBO_HW;
}
}
if ( !get_config_key( hkey, appkey, "UseGLSL", buffer, size) ) if ( !get_config_key( hkey, appkey, "UseGLSL", buffer, size) )
{ {
if (!strcmp(buffer,"disabled")) if (!strcmp(buffer,"disabled"))
@ -314,8 +300,6 @@ static BOOL wined3d_init(HINSTANCE hInstDLL)
TRACE("Allow HW vertex shaders\n"); TRACE("Allow HW vertex shaders\n");
if (wined3d_settings.ps_mode == PS_NONE) if (wined3d_settings.ps_mode == PS_NONE)
TRACE("Disable pixel shaders\n"); TRACE("Disable pixel shaders\n");
if (wined3d_settings.vbo_mode == VBO_NONE)
TRACE("Disable Vertex Buffer Hardware support\n");
if (wined3d_settings.glslRequested) if (wined3d_settings.glslRequested)
TRACE("If supported by your system, GL Shading Language will be used\n"); TRACE("If supported by your system, GL Shading Language will be used\n");

View File

@ -280,7 +280,6 @@ typedef struct wined3d_settings_s {
/* vertex and pixel shader modes */ /* vertex and pixel shader modes */
int vs_mode; int vs_mode;
int ps_mode; int ps_mode;
int vbo_mode;
/* Ideally, we don't want the user to have to request GLSL. If the hardware supports GLSL, /* Ideally, we don't want the user to have to request GLSL. If the hardware supports GLSL,
we should use it. However, until it's fully implemented, we'll leave it as a registry we should use it. However, until it's fully implemented, we'll leave it as a registry
setting for developers. */ setting for developers. */