wined3d: Use GL_ALIASED_POINT_SIZE_RANGE to retrieve the max point size.
This commit is contained in:
parent
b881cfc541
commit
e028e3f7bd
|
@ -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]);
|
||||
|
|
Loading…
Reference in New Issue