wined3d: Use GL_ALIASED_POINT_SIZE_RANGE to retrieve the max point size.

This commit is contained in:
Henri Verbeet 2009-01-09 10:23:42 +01:00 committed by Alexandre Julliard
parent b881cfc541
commit e028e3f7bd
1 changed files with 1 additions and 1 deletions

View File

@ -744,7 +744,7 @@ static BOOL IWineD3DImpl_FillGLCaps(WineD3D_GL_Info *gl_info) {
gl_info->max_texture_size = gl_max;
TRACE_(d3d_caps)("Maximum texture size support - max texture size=%d\n", gl_max);
glGetFloatv(GL_POINT_SIZE_RANGE, gl_floatv);
glGetFloatv(GL_ALIASED_POINT_SIZE_RANGE, gl_floatv);
gl_info->max_pointsizemin = gl_floatv[0];
gl_info->max_pointsize = gl_floatv[1];
TRACE_(d3d_caps)("Maximum point size support - max point size=%f\n", gl_floatv[1]);