wined3d: Initialize major and minor when filling GL caps.

This commit is contained in:
Chris Robinson 2007-08-05 12:33:30 -07:00 committed by Alexandre Julliard
parent 9a319f2857
commit c6e6eae08c
1 changed files with 1 additions and 1 deletions

View File

@ -409,7 +409,7 @@ BOOL IWineD3DImpl_FillGLCaps(WineD3D_GL_Info *gl_info, Display* display) {
GLint gl_max;
GLfloat gl_floatv[2];
Bool test = 0;
int major, minor;
int major = 1, minor = 0;
BOOL return_value = TRUE;
int i;